Documentation ¶
Index ¶
- Variables
- type SessionStore
- func (r *SessionStore) DeleteSession(sessionID interface{}) error
- func (r *SessionStore) InvalidateSessions(groupId interface{}) error
- func (r *SessionStore) RateLimitCount(client string, bucketRate, bucketCapacity float64) error
- func (r *SessionStore) Session(sessionID, session interface{}) error
- func (r *SessionStore) SetSession(sessionID, groupId, session interface{}) error
- type SessionStoreOptions
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type SessionStore ¶
type SessionStore struct {
// contains filtered or unexported fields
}
func NewSessionStore ¶
func NewSessionStore(options SessionStoreOptions) (*SessionStore, error)
func (*SessionStore) DeleteSession ¶
func (r *SessionStore) DeleteSession(sessionID interface{}) error
func (*SessionStore) InvalidateSessions ¶
func (r *SessionStore) InvalidateSessions(groupId interface{}) error
func (*SessionStore) RateLimitCount ¶
func (r *SessionStore) RateLimitCount(client string, bucketRate, bucketCapacity float64) error
func (*SessionStore) Session ¶
func (r *SessionStore) Session(sessionID, session interface{}) error
func (*SessionStore) SetSession ¶
func (r *SessionStore) SetSession(sessionID, groupId, session interface{}) error
Click to show internal directories.
Click to hide internal directories.