Documentation ¶
Index ¶
- type ConnPool
- func (p *ConnPool) Close() error
- func (p *ConnPool) DelKey(key string) (interface{}, error)
- func (p *ConnPool) Do(command string, args ...interface{}) (interface{}, error)
- func (p *ConnPool) ExpireKey(key string, seconds int64) (interface{}, error)
- func (p *ConnPool) GetBytes(key string) ([]byte, error)
- func (p *ConnPool) GetHashMapInt(key string) (map[string]int, error)
- func (p *ConnPool) GetHashMapInt64(key string) (map[string]int64, error)
- func (p *ConnPool) GetHashMapString(key string) (map[string]string, error)
- func (p *ConnPool) GetInt(key string) (int, error)
- func (p *ConnPool) GetInt64(key string) (int64, error)
- func (p *ConnPool) GetString(key string) (string, error)
- func (p *ConnPool) Keys(pattern string) ([]string, error)
- func (p *ConnPool) KeysByteSlices(pattern string) ([][]byte, error)
- func (p *ConnPool) SetHashMap(key string, fieldValue map[string]interface{}) (interface{}, error)
- func (p *ConnPool) SetString(key string, value interface{}) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnPool ¶
ConnPool is RDS struct
func InitRedisPool ¶
InitRedisPool func init RDS fd
func (*ConnPool) GetHashMapInt ¶
GetHashMapInt for hash map
func (*ConnPool) GetHashMapInt64 ¶
GetHashMapInt64 for hash map
func (*ConnPool) GetHashMapString ¶
GetHashMapString for hash map
func (*ConnPool) KeysByteSlices ¶
KeysByteSlices for key
func (*ConnPool) SetHashMap ¶
SetHashMap for hash map
Click to show internal directories.
Click to hide internal directories.