Documentation ¶
Index ¶
- Variables
- func Destroy(name string, c echo.Context) error
- func Get(name string, c echo.Context) (*sessions.Session[string], error)
- func Middleware(store sessions.Store[string]) echo.MiddlewareFunc
- func MiddlewareWithConfig(config Config) echo.MiddlewareFunc
- func New(name string, c echo.Context) (*sessions.Session[string], error)
- type Config
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultConfig is the default Session middleware config. DefaultConfig = Config{ Skipper: middleware.DefaultSkipper, } )
Functions ¶
func Middleware ¶
Middleware returns a Session middleware.
func MiddlewareWithConfig ¶
func MiddlewareWithConfig(config Config) echo.MiddlewareFunc
MiddlewareWithConfig returns a Sessions middleware with config. See `Middleware()`.
Types ¶
Click to show internal directories.
Click to hide internal directories.