Documentation ¶
Index ¶
- type Storage
- func (s *Storage) DecrBy(key string, update int64) (err error)
- func (s *Storage) Del(key string) (err error)
- func (s *Storage) Get(key string) (value interface{}, exists bool, err error)
- func (s *Storage) GetWithValue(key string, value interface{}) (exists bool, err error)
- func (s *Storage) IncrBy(key string, update int64) (err error)
- func (s *Storage) Put(key string, value interface{}) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is a redis implementation of a keyvalue storage
func (*Storage) DecrBy ¶
DecrBy decreases the value saved at key by the amount provided through update
func (*Storage) GetWithValue ¶ added in v0.18.0
Click to show internal directories.
Click to hide internal directories.