Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Module ¶
type Module struct { // session config is optional to allow usage of the DefaultConfig Backend string `inject:"config:session.backend"` Secret string `inject:"config:session.secret"` FileName string `inject:"config:session.file"` Secure bool `inject:"config:session.cookie.secure"` // float64 is used due to the injection as config from json - int is not possible on this StoreLength float64 `inject:"config:session.store.length"` MaxAge float64 `inject:"config:session.max.age"` Path string `inject:"config:session.cookie.path"` RedisHost string `inject:"config:session.redis.host"` RedisPassword string `inject:"config:session.redis.password"` RedisIdleConnections float64 `inject:"config:session.redis.idle.connections"` RedisMaxAge float64 `inject:"config:session.redis.maxAge"` }
Module for session management
func (*Module) DefaultConfig ¶
DefaultConfig for this module
Click to show internal directories.
Click to hide internal directories.