Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ErrSessionDoesNotExist is returned when an invalid token/key pair is presented ErrSessionDoesNotExist = errors.Error("session with that token/key pair does not exist") )
View Source
const ( // SessionTimeout (in seconds) is the ttl for sessions, an action will refresh the duration SessionTimeout = 60 * 60 * 12 // 12 hours )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Sessions ¶
type Sessions struct {
// contains filtered or unexported fields
}
Sessions manages sessions
Click to show internal directories.
Click to hide internal directories.