Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitCluster ¶
Types ¶
type ClusterMutex ¶
type ClusterMutex struct {
// contains filtered or unexported fields
}
func NewClusterMutex ¶
func NewClusterMutex(ctx context.Context, cli *redis.Client, name string) *ClusterMutex
type RedisLocker ¶
type RedisLocker struct {
// contains filtered or unexported fields
}
RedisLocker .
func NewRedisLocker ¶
func NewRedisLocker(rds *redis.Client, name string, timeout time.Duration) *RedisLocker
NewRedisLocker TODO
Click to show internal directories.
Click to hide internal directories.