package
1.0.3
Repository: https://github.com/rdlucklib/rdluck_tools.git
Documentation: pkg.go.dev

# Functions

NewRedisCache create new redis cache with default collection name.

# Variables

DefaultKey the collection name of redis for cache adapter.
Lock请求锁的最大时间间隔(毫秒).
当一次Lock失败之后,会随机在RetryMinTimeInterval和RetryMaxTimeInterval之间 取一个随机值作为下次请求锁的时间间隔 Lock请求锁的最小时间间隔(毫秒).

# Structs

Cache is Redis cache adapter.