Documentation
¶
Index ¶
- func NewProvider() backend.Provider
- type Memory
- func (p *Memory) Close() error
- func (p *Memory) Delete(key string, dir bool) error
- func (p *Memory) Get(key string, dir bool) (backend.KVPairs, error)
- func (p *Memory) Incr(key string) (int64, error)
- func (p *Memory) KeepAlive(key, value string, ttl time.Duration) error
- func (p *Memory) Set(key, value string, ttl time.Duration) error
- func (p *Memory) Type() string
- func (p *Memory) Watch(key string, dir bool) (backend.EventChan, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
Types ¶
type Memory ¶
Click to show internal directories.
Click to hide internal directories.