Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MemoryStore = Store{ // contains filtered or unexported fields }
View Source
var SessionIdName string = "KmgSessionId"
Functions ¶
This section is empty.
Types ¶
type Session ¶
func GetSession ¶
func GetSession(w http.ResponseWriter, req *http.Request) *Session
func GetSessionById ¶
通过 Session Id 获取 Session,如果没获取到,产生一个新的返回
Click to show internal directories.
Click to hide internal directories.