Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStore ¶
func NewStore(config *Config, tableName string, gcInterval int) session.ManagerStore
NewStore Create an instance of a mysql store, tableName Specify the stored table name (default go_session), gcInterval Time interval for executing GC (in seconds, default 600)
func NewStoreWithDB ¶
NewStoreWithDB Create an instance of a mysql store, tableName Specify the stored table name (default go_session), gcInterval Time interval for executing GC (in seconds, default 600)
Types ¶
type SessionItem ¶
SessionItem Data items stored in mysql
Click to show internal directories.
Click to hide internal directories.