Documentation
¶
Index ¶
- type Session
- type Store
- func (s *Store) Count() int
- func (s *Store) Create(userID, username string, roles, permissions []string) (string, error)
- func (s *Store) Get(token string) (*Session, bool)
- func (s *Store) GetByUserID(userID string) *Session
- func (s *Store) GetFromRequest(r *http.Request) (*Session, bool)
- func (s *Store) Revoke(token string)
- func (s *Store) TTL() time.Duration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.