Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Account is the key of account data in the session.
Account = "Account"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶ added in v1.5.3
type Session interface { GetStore() sessions.Store Get(c echo.Context) *sessions.Session Save(c echo.Context) error Delete(c echo.Context) error SetValue(c echo.Context, key string, value interface{}) error GetValue(c echo.Context, key string) string SetAccount(c echo.Context, account *model.Account) error GetAccount(c echo.Context) *model.Account }
Session represents a interface for accessing the session on the application.
Click to show internal directories.
Click to hide internal directories.