Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisDriver ¶
type RedisDriver struct {
// contains filtered or unexported fields
}
func NewRedisDriver ¶
func NewRedisDriver(keyPrefix ratomic.LockKeyPrefix, cli *redis.Client) *RedisDriver
func (*RedisDriver) Del ¶
func (dri *RedisDriver) Del(keys ...string) (int64, *ratomic.DriverError)
func (*RedisDriver) KeyPrefix ¶
func (dri *RedisDriver) KeyPrefix() ratomic.LockKeyPrefix
func (*RedisDriver) MSetNX ¶
func (dri *RedisDriver) MSetNX(keys ...string) (int64, *ratomic.DriverError)
Click to show internal directories.
Click to hide internal directories.