Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶ added in v0.16.0
type Error struct {
// contains filtered or unexported fields
}
func (*Error) Handle ¶ added in v0.16.0
func (self *Error) Handle(next echo.HandlerFunc) echo.HandlerFunc
type ErrorConfig ¶ added in v0.16.0
type ErrorConfig struct {
}
type Localizer ¶
type Localizer struct {
// contains filtered or unexported fields
}
func NewLocalizer ¶
func (*Localizer) Handle ¶
func (self *Localizer) Handle(next echo.HandlerFunc) echo.HandlerFunc
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 Secure ¶
type Secure struct {
// contains filtered or unexported fields
}
func (*Secure) Handle ¶
func (self *Secure) Handle(next echo.HandlerFunc) echo.HandlerFunc
type SecureConfig ¶
type SecureConfig struct {
CORSAllowOrigins *[]string
CORSAllowMethods *[]string
CORSAllowHeaders *[]string
CORSAllowCredentials *bool
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
func (*Timeout) Handle ¶
func (self *Timeout) Handle(next echo.HandlerFunc) echo.HandlerFunc
type TimeoutConfig ¶
Click to show internal directories.
Click to hide internal directories.