Versions in this module Expand all Collapse all v0 v0.10.0 Aug 10, 2022 Changes in this version type Config + ServerHost string v0.9.0 Jul 20, 2022 v0.8.0 Jun 17, 2022 v0.7.0 May 17, 2022 v0.6.1 Apr 20, 2022 v0.6.0 Apr 8, 2022 Changes in this version + func AuthRequiredMiddleware() echo.MiddlewareFunc + func ContextMiddleware(fn func(ctx context.Context) context.Context) echo.MiddlewareFunc + func ExportLayer() echo.HandlerFunc + func GraphqlAPI(conf GraphQLConfig, dev bool) echo.HandlerFunc + func PasswordReset() echo.HandlerFunc + func Ping() echo.HandlerFunc + func PublishedMetadata() echo.HandlerFunc + func Signup() echo.HandlerFunc + func SignupVerify() echo.HandlerFunc + func StartSignupVerify() echo.HandlerFunc + func UsecaseMiddleware(r *repo.Container, g *gateway.Container, config interactor.ContainerConfig) echo.MiddlewareFunc type Auth0Config + func (c Auth0Config) AuthConfig() *AuthConfig + type AuthConfig struct + ALG *string + AUD []string + ClientID *string + ISS string + TTL *int + type AuthConfigs []AuthConfig + func (ipd *AuthConfigs) Decode(value string) error + type AuthSrvConfig struct + DN *AuthSrvDNConfig + Dev bool + Disabled bool + Domain string + Key string + UIDomain string + func (c AuthSrvConfig) AuthConfig(debug bool, host string) *AuthConfig + type AuthSrvDNConfig struct + C []string + CN string + L []string + O []string + OU []string + PostalCode []string + ST []string + Street []string type Config + Auth AuthConfigs + AuthSrv AuthSrvConfig + Auth_ALG *string + Auth_AUD string + Auth_ClientID *string + Auth_ISS string + Auth_TTL *int + Host string + Host_Web string + Mailer string + SMTP SMTPConfig + SendGrid SendGridConfig + SignupDisabled bool + func (c Config) AuthServeDomainURL() *url.URL + func (c Config) AuthServeUIDomainURL() *url.URL + func (c Config) Auths() (res []AuthConfig) + func (c Config) HostURL() *url.URL + func (c Config) HostWebURL() *url.URL + type MultiValidator []*validator.Validator + func NewMultiValidator(providers []AuthConfig) (MultiValidator, error) + func (mv MultiValidator) ValidateToken(ctx context.Context, tokenString string) (res interface{}, err error) + type SMTPConfig struct + Email string + Host string + Password string + Port string + SMTPUsername string + type SendGridConfig struct + API string + Email string + Name string v0.5.0 Feb 24, 2022 v0.4.0 Jan 27, 2022 v0.3.0 Jan 11, 2022 v0.2.0 Nov 18, 2021 v0.1.0 Nov 1, 2021 Changes in this version + var ErrBadID = errors.New("bad id") + var ErrBadParameter = errors.New("id.ext is needed") + var ErrOpDenied = errors.New("operation denied") + var ErrUnauthorized = errors.New("Unauthorized") + var ErrUnknowFormat = errors.New("unknown file format") + func PublishedAuthMiddleware(...) echo.MiddlewareFunc + func PublishedData(data func(ctx context.Context, name string) (io.Reader, error)) echo.HandlerFunc + func PublishedIndex(index func(ctx context.Context, name string, url *url.URL) (string, error)) echo.HandlerFunc + func Start(debug bool, version string) + type Auth0Config struct + Audience string + ClientID string + ClientSecret string + Domain string + WebClientID string + type Config struct + AssetBaseURL string + Auth0 Auth0Config + DB string + Dev bool + GCPProject string + GCS GCSConfig + GraphQL GraphQLConfig + Origins []string + Port string + Profiler string + Published PublishedConfig + SignupSecret string + Tracer string + TracerSample float64 + Web WebConfig + func ReadConfig(debug bool) (*Config, error) + func (c Config) Print() string + type GCSConfig struct + BucketName string + PublicationCacheControl string + type GraphQLConfig struct + ComplexityLimit int + type JSONWebKeys struct + E string + Kid string + Kty string + N string + Use string + X5c []string + type Jwks interface + GetJwks func(string) ([]JSONWebKeys, error) + type JwksSyncOnce struct + func (jso *JwksSyncOnce) GetJwks(publicKeyURL string) ([]JSONWebKeys, error) + type Logger struct + func GetEchoLogger() *Logger + func (l *Logger) Debug(i ...interface{}) + func (l *Logger) Debugf(format string, args ...interface{}) + func (l *Logger) Debugj(j log.JSON) + func (l *Logger) Error(i ...interface{}) + func (l *Logger) Errorf(format string, args ...interface{}) + func (l *Logger) Errorj(j log.JSON) + func (l *Logger) Fatal(i ...interface{}) + func (l *Logger) Fatalf(format string, args ...interface{}) + func (l *Logger) Fatalj(j log.JSON) + func (l *Logger) Hook() echo.MiddlewareFunc + func (l *Logger) Info(i ...interface{}) + func (l *Logger) Infof(format string, args ...interface{}) + func (l *Logger) Infoj(j log.JSON) + func (l *Logger) Level() log.Lvl + func (l *Logger) Output() io.Writer + func (l *Logger) Panic(i ...interface{}) + func (l *Logger) Panicf(format string, args ...interface{}) + func (l *Logger) Panicj(j log.JSON) + func (l *Logger) Prefix() string + func (l *Logger) Print(i ...interface{}) + func (l *Logger) Printf(format string, args ...interface{}) + func (l *Logger) Printj(j log.JSON) + func (l *Logger) SetHeader(_ string) + func (l *Logger) SetLevel(lvl log.Lvl) + func (l *Logger) SetOutput(w io.Writer) + func (l *Logger) SetPrefix(s string) + func (l *Logger) Warn(i ...interface{}) + func (l *Logger) Warnf(format string, args ...interface{}) + func (l *Logger) Warnj(j log.JSON) + type PublishedConfig struct + IndexURL *url.URL + type ServerConfig struct + Config *Config + Debug bool + Gateways *gateway.Container + Repos *repo.Container + type WebConfig map[string]string + type WebServer struct + func NewServer(cfg *ServerConfig) *WebServer + func (w *WebServer) Run()