Documentation ¶ Index ¶ func NewStore(hashKey, blockKey []byte, opt *http.Cookie) sessions.Store func Set(sess *sessions.Session, i Info) *sessions.Session type Info func Get(sess *sessions.Session) Info Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewStore ¶ func NewStore(hashKey, blockKey []byte, opt *http.Cookie) sessions.Store func Set ¶ func Set(sess *sessions.Session, i Info) *sessions.Session Types ¶ type Info ¶ type Info struct { UserID string Deadline int64 } func Get ¶ func Get(sess *sessions.Session) Info Source Files ¶ View all Source files session.go Click to show internal directories. Click to hide internal directories.