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 { SetContext(c echo.Context) Get() *sessions.Session Save() error Delete() error SetValue(key string, value interface{}) error GetValue(key string) string SetAccount(account *model.Account) error GetAccount() *model.Account }
Session represents a interface for accessing the session on the application.
Click to show internal directories.
Click to hide internal directories.