Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Status sdk.MonitoringStatusLine
Status for session store
Functions ¶
This section is empty.
Types ¶
type SessionKey ¶
type SessionKey string
SessionKey is the session ID
func NewSessionKey ¶
func NewSessionKey() (SessionKey, error)
NewSessionKey generates a random UUID according to RFC 4122
type Store ¶
type Store interface {
New(SessionKey) (SessionKey, error)
Exists(SessionKey) (bool, error)
Get(SessionKey, string, interface{}) error
Set(SessionKey, string, interface{}) error
Delete(SessionKey) error
}
Store is the session store interface
Click to show internal directories.
Click to hide internal directories.