 Documentation
      ¶
      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, ptr 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 the memory implementation of a storage backend
func (*Storage) DecrBy ¶
DecrBy decreases the value saved at key by the amount provided through update It assumes the value saved for the key either does not exist or has a type of int64
func (*Storage) GetWithValue ¶ added in v0.18.0
 Click to show internal directories. 
   Click to hide internal directories.