Documentation
¶
Index ¶
- func GetCookieStore(ginCtx *gin.Context) *sessions.CookieStore
- func GetSession(ginCtx *gin.Context) (*sessions.Session, error)
- func GetUser(ginCtx *gin.Context) (*model.User, error)
- func Logger() gin.HandlerFunc
- func Recover() gin.HandlerFunc
- func SaveSession(ginCtx *gin.Context, session *sessions.Session) error
- func Session() gin.HandlerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCookieStore ¶
func GetCookieStore(ginCtx *gin.Context) *sessions.CookieStore
func Logger ¶
func Logger() gin.HandlerFunc
func Recover ¶
func Recover() gin.HandlerFunc
func Session ¶
func Session() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.