Documentation ¶
Index ¶
- Variables
- func DefaultHandler() gin.HandlerFunc
- func Disconnect(c *gin.Context)
- func GetLoginStatus(c *gin.Context) bool
- func IsAdmin(c *gin.Context) bool
- func NewHandler(name string, store sessions.Store) gin.HandlerFunc
- func NewStore(secret string) sessions.Store
- func SetLoginStatus(c *gin.Context, status bool, isadmin bool)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SessID string = "default-sessions" Store sessions.Store = nil )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.