Documentation ¶
Index ¶
- Variables
- func GetAllKeys() ([]string, error)
- func GetQueueLen(strKey string) (int, error)
- func Ping() error
- func PopQueue(sKey string) (string, error)
- func PopQueueBlock(sKey string, nTimeOut int) ([]string, error)
- func PushQueue(sKey string, iValue interface{}) error
- func ShowQueueValues(strKey string, nStart, nEnd int) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Pool *redis.Pool
)
Functions ¶
func GetAllKeys ¶
func GetQueueLen ¶
func PopQueueBlock ¶
TimeOut must be shorter than DB connection timeout
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.