Documentation ¶
Index ¶
- Variables
- func CheckErr(e error, msg string)
- func GetSession(name string, w http.ResponseWriter, r *http.Request) (*sessions.Session, error)
- func GetStore() *sessions.FilesystemStore
- func InitSessionStore(SESSION_FILESTORE_URL, SESSION_SECRET_KEY string) *sessions.FilesystemStore
- func RandomString(strlen int) string
Constants ¶
This section is empty.
Variables ¶
View Source
var Store *sessions.FilesystemStore
Functions ¶
func GetSession ¶
func GetStore ¶
func GetStore() *sessions.FilesystemStore
func InitSessionStore ¶
func InitSessionStore(SESSION_FILESTORE_URL, SESSION_SECRET_KEY string) *sessions.FilesystemStore
func RandomString ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.