Documentation
¶
Index ¶
- type BaseFeature
- func (f *BaseFeature) GetHandler() *handler.Handler
- func (f *BaseFeature) InTestMode() bool
- func (f *BaseFeature) SetHandler(h *handler.Handler)
- func (f *BaseFeature) SetIdentity(c echo.Context) (identity.Identity, error)
- func (f *BaseFeature) SetSession(sessionValue string, expiration int64) error
- func (f *BaseFeature) TranslateErrorMessage(err error, c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseFeature ¶
type BaseFeature struct {
// contains filtered or unexported fields
}
BaseFeature represent BaseFeature
func (*BaseFeature) GetHandler ¶
func (f *BaseFeature) GetHandler() *handler.Handler
GetHandler get superHandler
func (*BaseFeature) InTestMode ¶ added in v0.0.7
func (f *BaseFeature) InTestMode() bool
InTestMode detect in test mode
func (*BaseFeature) SetHandler ¶
func (f *BaseFeature) SetHandler(h *handler.Handler)
SetHandler set superHandler
func (*BaseFeature) SetIdentity ¶
func (f *BaseFeature) SetIdentity(c echo.Context) (identity.Identity, error)
SetIdentity set Identity
func (*BaseFeature) SetSession ¶
func (f *BaseFeature) SetSession(sessionValue string, expiration int64) error
SetSession set Session
func (*BaseFeature) TranslateErrorMessage ¶ added in v0.0.7
func (f *BaseFeature) TranslateErrorMessage(err error, c echo.Context) error
TranslateErrorMessage translate echo error message
Click to show internal directories.
Click to hide internal directories.