Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionManager ¶
type SessionManager struct { CookieName string CookieDomain string // contains filtered or unexported fields }
func New ¶
func New(cookieName, key, cookieDomain string) *SessionManager
func (*SessionManager) Set ¶
func (s *SessionManager) Set(session map[string]interface{}, rw http.ResponseWriter, req *http.Request)
func (*SessionManager) SetCookieExpires ¶
func (s *SessionManager) SetCookieExpires(session map[string]interface{}, cookieExpires int)
Click to show internal directories.
Click to hide internal directories.