Documentation ¶
Index ¶
- func GetSession() *sessions.CookieStore
- type Options
- type Session
- func (s *Session) Clear(w http.ResponseWriter, r *http.Request) (err error)
- func (s *Session) Delete(w http.ResponseWriter, r *http.Request, key interface{}) (err error)
- func (s *Session) Get(r *http.Request, key string) (val interface{}, err error)
- func (s *Session) Session(r *http.Request) (session *sessions.Session)
- func (s *Session) Set(w http.ResponseWriter, r *http.Request, key interface{}, val interface{}) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSession ¶
func GetSession() *sessions.CookieStore
Types ¶
Click to show internal directories.
Click to hide internal directories.