Documentation ¶
Index ¶
- Constants
- func DelItem(conn RdsConn, args ...interface{}) error
- func GetItem(conn RdsConn, target interface{}, args ...interface{}) error
- func IsExist(conn RdsConn, cmd string, args ...interface{}) bool
- func PubRds(conn RdsConn, key string, msg []byte) error
- func SaveItem(conn RdsConn, target interface{}, args ...interface{}) error
- func SubRds(conn RdsConn, key string, subC chan []byte, ctx context.Context) error
- type Model
- type RdsConfig
- type RdsConn
- type RdsDb
- type RdsPool
Constants ¶
View Source
const ( STRING = "string" HASH = "hash" LIST = "list" SET = "set" ZSET = "zset" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RdsConfig ¶
type RdsPool ¶
type RdsPool struct { Capa int //连接池容量 // contains filtered or unexported fields }
func NewRdsPool ¶
Click to show internal directories.
Click to hide internal directories.