Documentation ¶ Index ¶ Variables type Storage func New(ctx context.Context, encryptionKey string, expires time.Duration) *Storage func (s *Storage) Delete(client string) func (s *Storage) Get(client string) (string, error) func (s *Storage) Set(client string, token string) error Constants ¶ This section is empty. Variables ¶ View Source var ErrNotExists = errors.New("value does not exist") Functions ¶ This section is empty. Types ¶ type Storage ¶ type Storage struct { // contains filtered or unexported fields } func New ¶ func New(ctx context.Context, encryptionKey string, expires time.Duration) *Storage func (*Storage) Delete ¶ func (s *Storage) Delete(client string) func (*Storage) Get ¶ func (s *Storage) Get(client string) (string, error) func (*Storage) Set ¶ func (s *Storage) Set(client string, token string) error Source Files ¶ View all Source files errors.go storage.go Click to show internal directories. Click to hide internal directories.