Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct { Config *Config Store *sessions.CookieStore }
Manager type. Manager to handle HTTP sessions via cookies.
func NewManager ¶
NewManager is the constructor for session Manager.
func (Manager) DestroySession ¶
func (sessionManager Manager) DestroySession(w http.ResponseWriter, r *http.Request)
DestroySession to destroy a HTTP session.
Click to show internal directories.
Click to hide internal directories.