Versions in this module Expand all Collapse all v0 v0.0.6 Jul 19, 2021 v0.0.5 Jul 12, 2021 v0.0.4 Jul 12, 2021 Changes in this version + 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 struct + DB int + Host string + Pass string + PoolSize int + Tls bool + Type string