Documentation ¶
Index ¶
- type Mutex
- type Rds
- func (p *Rds) Del(k string) (err error)
- func (p *Rds) FlushDB() (err error)
- func (p *Rds) Get(key string) (v []byte, err error)
- func (p *Rds) Keys() (keys []string, err error)
- func (p *Rds) Lock(key string, ttl int) error
- func (p *Rds) NewMutex(key string) *Mutex
- func (p *Rds) Set(key string, value []byte) (err error)
- func (p *Rds) SetEX(k string, expire int, v interface{}) (err error)
- func (p *Rds) SetNX(k string, v interface{}) (err error)
- func (p *Rds) UnLock(key string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.