Documentation ¶
Index ¶
- Constants
- func GetSession(c echo.Context) session.Session
- func SetSession(c echo.Context, s session.Session)
- type Manager
- func (ca *Manager) ActivateSession(c echo.Context, s session.Session)
- func (ca Manager) CreateSession(c echo.Context) session.Session
- func (ca Manager) FindSession(c echo.Context) (session.Session, bool)
- func (ca *Manager) Handler() echo.MiddlewareFunc
- func (ca Manager) SetSessionIDCookie(c echo.Context, session session.Session)
Constants ¶
View Source
const ( IDCookieName = "session-id-cookie-name-echo-session" DefaultSessionExpires = 60 * 15 )
View Source
const (
DefaultSessionContextKey = "default session context key"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Manager ¶
type Manager struct { MaxAge int // contains filtered or unexported fields }
func (*Manager) ActivateSession ¶
func (*Manager) Handler ¶
func (ca *Manager) Handler() echo.MiddlewareFunc
Click to show internal directories.
Click to hide internal directories.