Documentation
¶
Index ¶
- Constants
- Variables
- func PrefixDir(prefix string, fs http.FileSystem) http.FileSystem
- func WithSocketSharding(app *Application)
- type APIContainer
- type Application
- func (app *Application) Build() error
- func (app *Application) ConfigurationReadOnly() context.ConfigurationReadOnly
- func (app *Application) Configure(configurators ...Configurator) *Application
- func (app *Application) ConfigureHost(configurators ...host.Configurator) *Application
- func (app *Application) I18nReadOnly() context.I18nReadOnly
- func (app *Application) Listen(hostPort string, withOrWithout ...Configurator) error
- func (app *Application) Logger() *golog.Logger
- func (app *Application) NewHost(srv *http.Server) *host.Supervisor
- func (app *Application) RegisterView(viewEngine view.Engine)
- func (app *Application) Run(serve Runner, withOrWithout ...Configurator) error
- func (app *Application) Shutdown(ctx stdContext.Context) error
- func (app *Application) SubdomainRedirect(from, to router.Party) router.Party
- func (app *Application) Validate(v interface{}) error
- func (app *Application) View(writer io.Writer, filename string, layout string, bindingData interface{}) error
- func (app *Application) WWW() router.Party
- type Attachments
- type Configuration
- func (c Configuration) GetCharset() string
- func (c Configuration) GetDisableAutoFireStatusCode() bool
- func (c Configuration) GetDisableBodyConsumptionOnUnmarshal() bool
- func (c Configuration) GetDisablePathCorrection() bool
- func (c Configuration) GetDisablePathCorrectionRedirection() bool
- func (c Configuration) GetEnableOptimizations() bool
- func (c Configuration) GetEnablePathEscape() bool
- func (c Configuration) GetEnablePathIntelligence() bool
- func (c Configuration) GetFireEmptyFormError() bool
- func (c Configuration) GetFireMethodNotAllowed() bool
- func (c Configuration) GetForceLowercaseRouting() bool
- func (c Configuration) GetHostProxyHeaders() map[string]bool
- func (c Configuration) GetLanguageContextKey() string
- func (c Configuration) GetLocaleContextKey() string
- func (c Configuration) GetLogLevel() string
- func (c Configuration) GetOther() map[string]interface{}