Documentation ¶
Overview ¶
Code generated by fassify DO NOT EDIT
Index ¶
- func WithAuthentication(cfg *config.Config, next http.HandlerFunc) http.HandlerFunc
- func WithEmbeddedFiles(efs embed.FS, prefix string) http.HandlerFunc
- func WithLogging(next http.HandlerFunc) http.HandlerFunc
- type Manager
- func (a *Manager) Error() error
- func (a *Manager) ListenAndServe()
- func (a *Manager) WithAccountAccess(accountAccess account.Access) *Manager
- func (a *Manager) WithAppName(appName string) *Manager
- func (a *Manager) WithDomain(domain string) *Manager
- func (a *Manager) WithMode(mode string) *Manager
- func (a *Manager) WithUrl(url string) *Manager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAuthentication ¶
func WithAuthentication(cfg *config.Config, next http.HandlerFunc) http.HandlerFunc
WithAuthentication checks for a valid token
func WithEmbeddedFiles ¶ added in v0.0.2
func WithEmbeddedFiles(efs embed.FS, prefix string) http.HandlerFunc
WithEmbeddedFiles serves files from the embedded file system
func WithLogging ¶
func WithLogging(next http.HandlerFunc) http.HandlerFunc
WithLogging logs the current request to the terminal
Types ¶
type Manager ¶ added in v0.0.8
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶ added in v0.0.8
func NewManager() *Manager
func (*Manager) ListenAndServe ¶ added in v0.0.8
func (a *Manager) ListenAndServe()
func (*Manager) WithAccountAccess ¶ added in v0.0.8
func (*Manager) WithAppName ¶ added in v0.0.9
func (*Manager) WithDomain ¶ added in v0.0.8
Click to show internal directories.
Click to hide internal directories.