Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func Get ¶
func Get(handler web.IHandler, persistence interface{}) (cache interface{}, exists bool, isFromMemory bool)
1. 当session没有持久化的时候,直接返回内存的对象 2. 当session持久化时,因为不知道目标pointer,需要转换
func Persistence ¶
func Persistence(filePath string)
Types ¶
Click to show internal directories.
Click to hide internal directories.