Documentation ¶
Index ¶
- type FakeRedis
- func (f *FakeRedis) Close()
- func (f *FakeRedis) Del(keys ...string) *redis.IntCmd
- func (f *FakeRedis) Expire(key string, expiration time.Duration) *redis.StatusCmd
- func (f *FakeRedis) Get(key string) *redis.StringCmd
- func (f *FakeRedis) HDel(key string, fields ...string) *redis.IntCmd
- func (f *FakeRedis) HGet(key string, field string) *redis.StringCmd
- func (f *FakeRedis) HGetAll(key string) *redis.MapStringStringCmd
- func (f *FakeRedis) HSet(key string, values ...any) *redis.IntCmd
- func (f *FakeRedis) Incr(key string) *redis.IntCmd
- func (f *FakeRedis) LPush(key string, values ...any) *redis.IntCmd
- func (f *FakeRedis) Ping() *redis.StatusCmd
- func (f *FakeRedis) RPop(key string) *redis.StringCmd
- func (f *FakeRedis) Set(key string, value any, expiration time.Duration) *redis.StatusCmd
- func (f *FakeRedis) SetNX(key string, value any, expiration time.Duration) *redis.BoolCmd
- func (f *FakeRedis) ZAdd(key string, values ...redis.Z) *redis.IntCmd
- func (f *FakeRedis) ZAddNX(key string, values ...redis.Z) *redis.IntCmd
- func (f *FakeRedis) ZCard(key string) *redis.IntCmd
- func (f *FakeRedis) ZRangeByScore(key string, opt *redis.ZRangeBy) *redis.StringSliceCmd
- func (f *FakeRedis) ZRem(key string, members ...string) *redis.IntCmd
- func (f *FakeRedis) ZScore(key string, member string) *redis.IntCmd
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.