Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorConfig ¶ added in v0.16.0
type ErrorConfig struct { }
type Localizer ¶
type Localizer struct {
// contains filtered or unexported fields
}
func NewLocalizer ¶
type LocalizerConfig ¶
type LocalizerConfig struct { }
type Observer ¶
type Observer struct {
// contains filtered or unexported fields
}
func NewObserver ¶
func NewObserver(observer *kit.Observer, config ObserverConfig) *Observer
func (*Observer) HandleCommand ¶ added in v0.16.0
func (self *Observer) HandleCommand(next kit.RunnerHandler) kit.RunnerHandler
func (*Observer) HandleRequest ¶ added in v0.11.0
func (self *Observer) HandleRequest(next echo.HandlerFunc) echo.HandlerFunc
type ObserverConfig ¶
type ObserverConfig struct { }
type Recover ¶
type Recover struct {
// contains filtered or unexported fields
}
func NewRecover ¶
func NewRecover(observer *kit.Observer, config RecoverConfig) *Recover
func (*Recover) HandleCommand ¶ added in v0.24.0
func (self *Recover) HandleCommand(next kit.RunnerHandler) kit.RunnerHandler
func (*Recover) HandleRequest ¶ added in v0.16.0
func (self *Recover) HandleRequest(next echo.HandlerFunc) echo.HandlerFunc
type RecoverConfig ¶
type RecoverConfig struct { }
type SecureConfig ¶
type SecureConfig struct { CORSAllowOrigins *[]string CORSAllowMethods *[]string CORSAllowHeaders *[]string CORSMaxAge *int XSSProtection *string XFrameOptions *string HSTSExcludeSubdomains *bool HSTSPreloadEnabled *bool HSTSMaxAge *int ContentTypeNosniff *string ContentSecurityPolicy *string CSPReportOnly *bool ReferrerPolicy *string }
type Timeout ¶
type Timeout struct {
// contains filtered or unexported fields
}
func NewTimeout ¶
func NewTimeout(observer *kit.Observer, config TimeoutConfig) *Timeout
type TimeoutConfig ¶
Click to show internal directories.
Click to hide internal directories.