Documentation ¶
Index ¶
Constants ¶
View Source
const ( SESSION_TYPE_COOKIE string = "cookie" // SESSION_TYPE_MEMCACHED string = "memcached" // 保存在memecache中 SESSION_TYPE_REDIS string = "redis" // 保存在redis中 SESSION_TYPE_MONGO string = "mongo" // 保存在mongo中 )
Variables ¶
View Source
var DefaultKey string = "ginapp-session" // cookie中保存session的key
Functions ¶
func CheckSessionToken ¶
func GenerateSessionToken ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.