Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultRetryTimes = uint8(20) DefaultRetryDelay = time.Millisecond * 300 DefaultLockTTL = time.Second * 2 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*option)
func WithLockTTL ¶
func WithRedisClient ¶
func WithRedisClient(client RedisClient) Option
func WithRetryDelay ¶
func WithRetryTimes ¶
Click to show internal directories.
Click to hide internal directories.