features

package
v0.0.14 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2020 License: MIT Imports: 11 Imported by: 13

Documentation

Index

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL