Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Store *sessions.CookieStore //Store is the cookie store Name string //Name is the session name )
Functions ¶
Types ¶
type SessionConfig ¶
type SessionConfig struct { Options sessions.Options `json:"Options"` // Pulled from: http://www.gorillatoolkit.org/pkg/sessions#Options Name string `json:"Name"` // Name for: http://www.gorillatoolkit.org/pkg/sessions#CookieStore.Get SecretKey string `json:"SecretKey"` // MaxLoginAttempts int `json:"MaxLoginAttempts"` // LoginAttemptsKey string `json:"LoginAttemptsKey"` // }
SessionConfig stores session level information
Click to show internal directories.
Click to hide internal directories.