Documentation
¶
Index ¶
- Variables
- func Destroy(ctx echo.Context) error
- func FromContext(ctx echo.Context) session.Store
- func New(opt ...session.Option) echo.MiddlewareFunc
- func NewWithConfig(config Config, opt ...session.Option) echo.MiddlewareFunc
- func Refresh(ctx echo.Context) (session.Store, error)
- type Config
- type Skipper
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultConfig is the default Recover middleware config. DefaultConfig = Config{ Skipper: func(_ echo.Context) bool { return false }, StoreKey: "github.com/go-session/echo-session/store", ManageKey: "github.com/go-session/echo-session/manage", } )
Functions ¶
func FromContext ¶
FromContext get session storage from context
func NewWithConfig ¶
NewWithConfig create a session middleware
Types ¶
Click to show internal directories.
Click to hide internal directories.