Versions in this module Expand all Collapse all v0 v0.0.2 Nov 22, 2019 Changes in this version + func RegisterRouter(g *gin.RouterGroup) + type Handler struct + func (*Handler) Create() gin.HandlerFunc + func (*Handler) Destroy() gin.HandlerFunc + func (*Handler) List() gin.HandlerFunc + func (*Handler) ViewCurrent() gin.HandlerFunc + type RSession struct + ExpireAt time.Time + IsAdmin bool + SessionID string + UserID uint + Username string + func BindList(sessions []cpt.Session) []*RSession + func BindSession(session *cpt.Session) *RSession + type ReqCreate struct + Password string + Username string + type RespCreate struct + Session *RSession + type RespList struct + Sessions []*RSession + type RespViewCurrent struct + Session *RSession v0.0.1 Nov 22, 2019