Documentation ¶
Overview ¶
Package shared provides shared types, functions and constants.
Index ¶
Constants ¶
View Source
const ( DefaultPath = "/" DefaultMaxAge = 60 * 60 * 24 * 30 // 30days )
Defaults for sessions.Options
View Source
const ( DefaultBatchSize = 10 DefaultCheckInterval = time.Second )
Defaults for reaper.Options
View Source
const (
DefaultBucketName = "sessions"
)
Defaults for store.Options
Variables ¶
This section is empty.
Functions ¶
func NewSession ¶
NewSession creates and returns a session data.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.