Documentation ¶
Index ¶
- type RedisCacheImpl
- func (impl *RedisCacheImpl) Del(key string) error
- func (impl *RedisCacheImpl) Dels(keys []string) error
- func (impl *RedisCacheImpl) Exists(key string) (bool, error)
- func (impl *RedisCacheImpl) Get(key string) ([]byte, error)
- func (impl *RedisCacheImpl) HDel(key string, fields ...[]byte) (int64, error)
- func (impl *RedisCacheImpl) HExists(key string, field []byte) (bool, error)
- func (impl *RedisCacheImpl) HGetAll(key string) ([][]byte, error)
- func (impl *RedisCacheImpl) HMGet(key string, fields ...[]byte) ([][]byte, error)
- func (impl *RedisCacheImpl) HMSet(key string, ttl int64, args ...[]byte) error
- func (impl *RedisCacheImpl) HVals(key string) ([][]byte, error)
- func (impl *RedisCacheImpl) Initialize(cfg interface{})
- func (impl *RedisCacheImpl) Keys(keyFormat string) ([][]byte, error)
- func (impl *RedisCacheImpl) SAdd(key string, ttl int64, members ...[]byte) error
- func (impl *RedisCacheImpl) SCard(key string) (int64, error)
- func (impl *RedisCacheImpl) SIsMember(key string, member []byte) (bool, error)
- func (impl *RedisCacheImpl) SMembers(key string) ([][]byte, error)
- func (impl *RedisCacheImpl) SRem(key string, members ...[]byte) (int64, error)
- func (impl *RedisCacheImpl) Set(key string, value []byte, ttl int64) error
- func (impl *RedisCacheImpl) ZAdd(key string, ttl int64, args ...[]byte) error
- func (impl *RedisCacheImpl) ZRange(key string, start, stop int64, withScores bool) ([][]byte, error)
- func (impl *RedisCacheImpl) ZRemRangeByScore(key string, start, stop int64) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisCacheImpl ¶
type RedisCacheImpl struct {
// contains filtered or unexported fields
}
func (*RedisCacheImpl) Del ¶
func (impl *RedisCacheImpl) Del(key string) error
func (*RedisCacheImpl) Dels ¶
func (impl *RedisCacheImpl) Dels(keys []string) error
func (*RedisCacheImpl) HDel ¶
func (impl *RedisCacheImpl) HDel(key string, fields ...[]byte) (int64, error)
func (*RedisCacheImpl) HExists ¶
func (impl *RedisCacheImpl) HExists(key string, field []byte) (bool, error)
func (*RedisCacheImpl) HMGet ¶
func (impl *RedisCacheImpl) HMGet(key string, fields ...[]byte) ([][]byte, error)
func (*RedisCacheImpl) HMSet ¶
func (impl *RedisCacheImpl) HMSet(key string, ttl int64, args ...[]byte) error
func (*RedisCacheImpl) Initialize ¶
func (impl *RedisCacheImpl) Initialize(cfg interface{})
func (*RedisCacheImpl) SAdd ¶
func (impl *RedisCacheImpl) SAdd(key string, ttl int64, members ...[]byte) error
func (*RedisCacheImpl) SIsMember ¶
func (impl *RedisCacheImpl) SIsMember(key string, member []byte) (bool, error)
func (*RedisCacheImpl) SMembers ¶
func (impl *RedisCacheImpl) SMembers(key string) ([][]byte, error)
func (*RedisCacheImpl) SRem ¶
func (impl *RedisCacheImpl) SRem(key string, members ...[]byte) (int64, error)
func (*RedisCacheImpl) Set ¶
func (impl *RedisCacheImpl) Set(key string, value []byte, ttl int64) error
func (*RedisCacheImpl) ZAdd ¶
func (impl *RedisCacheImpl) ZAdd(key string, ttl int64, args ...[]byte) error
func (*RedisCacheImpl) ZRemRangeByScore ¶
func (impl *RedisCacheImpl) ZRemRangeByScore(key string, start, stop int64) (int64, error)
Click to show internal directories.
Click to hide internal directories.