Documentation ¶
Index ¶
- type Connection
- type DB
- func (db *DB) Add(_ context.Context, token string, data []byte, expires time.Time) error
- func (db *DB) All(_ context.Context) (map[string][]byte, error)
- func (db *DB) Delete(_ context.Context, token string) error
- func (db *DB) DeleteOld(_ context.Context, old time.Time) error
- func (db *DB) Find(_ context.Context, token string) ([]byte, error)
- type Option
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) StopCleanup ¶
func (s *Store) StopCleanup()
Click to show internal directories.
Click to hide internal directories.