Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Session ¶
type Session struct { *sessions.Session User *model.UserAccount // maybe not Role *model.RoleData // maybe not }
func GetSessionData ¶
func GetSessionData(w http.ResponseWriter, r *http.Request) *Session
Click to show internal directories.
Click to hide internal directories.