Documentation ¶
Index ¶
- func Lock(redisDb *redis.Client, key string, value string, timeout time.Duration) (ok bool, err error)
- func MustSetup(c RedisConf) *redis.Client
- func NextOneFromDelayed(redisDb *redis.Client, key string, min, max string) (result string, score int64, err error)
- func Unlock(redisDb *redis.Client, key string, value string) (bool, error)
- type RedisConf
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NextOneFromDelayed ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.