Documentation
¶
Index ¶
- Variables
- func RedisConfigured() bool
- type Store
- func (s *Store) Alive(ctx context.Context, userID int64, sid string) (bool, error)
- func (s *Store) Find(ctx context.Context, hash string) (session.RefreshRecord, error)
- func (s *Store) Revoke(ctx context.Context, userID int64, sid string) error
- func (s *Store) RevokeAll(ctx context.Context, userID int64, except string) ([]string, error)
- func (s *Store) Rotate(ctx context.Context, _ session.RefreshRecord, oldHash, newHash string, ...) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRedisNotConfigured = errors.New("redis is not configured: authentication is disabled until it is")
Functions ¶
func RedisConfigured ¶
func RedisConfigured() bool
Types ¶
Click to show internal directories.
Click to hide internal directories.