Documentation ¶
Index ¶
- Constants
- func Delete(c echo.Context) error
- func Get(c echo.Context) *sessions.Session
- func GetAccount(c echo.Context) *model.Account
- func GetValue(c echo.Context, key string) string
- func Save(c echo.Context) error
- func SetAccount(c echo.Context, account *model.Account) error
- func SetValue(c echo.Context, key string, value interface{}) error
Constants ¶
View Source
const (
// Account is the key of account data in the session.
Account = "Account"
)
Variables ¶
This section is empty.
Functions ¶
func GetAccount ¶
GetAccount returns account object of session.
func SetAccount ¶
SetAccount sets account data in session.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.