Documentation ¶
Index ¶
- Variables
- func AuthRequiredMiddleware() echo.MiddlewareFunc
- func ContextMiddleware(fn func(ctx context.Context) context.Context) echo.MiddlewareFunc
- func ExportLayer() echo.HandlerFunc
- func GraphqlAPI(conf config.GraphQLConfig, dev bool) echo.HandlerFunc
- func NewRewriteHTMLFS(f afero.Fs, base, title, favicon string) (http.FileSystem, error)
- func PasswordReset() echo.HandlerFunc
- func Ping() echo.HandlerFunc
- func PublishedAuthMiddleware() echo.MiddlewareFunc
- func PublishedData(pattern string, useParam bool) echo.HandlerFunc
- func PublishedIndex(pattern string, useParam bool) echo.HandlerFunc
- func PublishedIndexMiddleware(pattern string, useParam, errorIfNotFound bool) echo.MiddlewareFunc
- func PublishedMetadata() echo.HandlerFunc
- func Signup() echo.HandlerFunc
- func SignupVerify() echo.HandlerFunc
- func Start(debug bool, version string)
- func StartSignupVerify() echo.HandlerFunc
- func UsecaseMiddleware(r *repo.Container, g *gateway.Container, ar *accountrepo.Container, ...) echo.MiddlewareFunc
- type AdapterFS
- func (fs *AdapterFS) Chmod(name string, mode os.FileMode) error
- func (fs *AdapterFS) Chown(name string, uid, gid int) error
- func (fs *AdapterFS) Chtimes(name string, atime time.Time, mtime time.Time) error
- func (fs *AdapterFS) Create(name string) (afero.File, error)
- func (fs *AdapterFS) Mkdir(name string, perm os.FileMode) error
- func (fs *AdapterFS) MkdirAll(path string, perm os.FileMode) error
- func (fs *AdapterFS) Name() string
- func (fs *AdapterFS) Open(name string) (afero.File, error)
- func (fs *AdapterFS) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error)
- func (fs *AdapterFS) Remove(name string) error
- func (fs *AdapterFS) RemoveAll(path string) error
- func (fs *AdapterFS) Rename(oldname, newname string) error
- func (fs *AdapterFS) Stat(name string) (os.FileInfo, error)
- type ServerConfig
- type WebHandler
- type WebServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidEmailORPassword = errors.New("wrong email or password")
Functions ¶
func AuthRequiredMiddleware ¶
func AuthRequiredMiddleware() echo.MiddlewareFunc
func ContextMiddleware ¶
func ExportLayer ¶
func ExportLayer() echo.HandlerFunc
func GraphqlAPI ¶
func GraphqlAPI(conf config.GraphQLConfig, dev bool) echo.HandlerFunc
func NewRewriteHTMLFS ¶
func PasswordReset ¶
func PasswordReset() echo.HandlerFunc
func PublishedAuthMiddleware ¶
func PublishedAuthMiddleware() echo.MiddlewareFunc
func PublishedData ¶
func PublishedIndex ¶
func PublishedMetadata ¶
func PublishedMetadata() echo.HandlerFunc
func SignupVerify ¶
func SignupVerify() echo.HandlerFunc
func StartSignupVerify ¶
func StartSignupVerify() echo.HandlerFunc
func UsecaseMiddleware ¶
func UsecaseMiddleware(r *repo.Container, g *gateway.Container, ar *accountrepo.Container, ag *accountgateway.Container, config interactor.ContainerConfig) echo.MiddlewareFunc
Types ¶
type ServerConfig ¶
type WebHandler ¶
type WebHandler struct { Disabled bool AppDisabled bool WebConfig map[string]any AuthConfig *config.AuthConfig HostPattern string Title string FaviconURL string FS afero.Fs }
func (*WebHandler) Handler ¶
func (w *WebHandler) Handler(e *echo.Echo)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.