Documentation
¶
Index ¶
- func Exists(t *testing.T, vc valkey.Conn, key string, msgAndArgs ...any) bool
- func FlushDB()
- func Get(t *testing.T, vc valkey.Conn, key string, expected string, msgAndArgs ...any) bool
- func HGet(t *testing.T, vc valkey.Conn, key, field string, expected string, ...) bool
- func HGetAll(t *testing.T, vc valkey.Conn, key string, expected map[string]string, ...) bool
- func HLen(t *testing.T, vc valkey.Conn, key string, expected int, msgAndArgs ...any) bool
- func Keys(t *testing.T, vc valkey.Conn, pattern string, expected []string, ...) bool
- func LGetAll(t *testing.T, vc valkey.Conn, key string, expected []string, msgAndArgs ...any) bool
- func LLen(t *testing.T, vc valkey.Conn, key string, expected int, msgAndArgs ...any) bool
- func LRange(t *testing.T, vc valkey.Conn, key string, start, stop int, expected []string, ...) bool
- func NotExists(t *testing.T, vc valkey.Conn, key string, msgAndArgs ...any) bool
- func SCard(t *testing.T, vc valkey.Conn, key string, expected int, msgAndArgs ...any) bool
- func SIsMember(t *testing.T, vc valkey.Conn, key, member string, msgAndArgs ...any) bool
- func SIsNotMember(t *testing.T, vc valkey.Conn, key, member string, msgAndArgs ...any) bool
- func SMembers(t *testing.T, vc valkey.Conn, key string, expected []string, msgAndArgs ...any) bool
- func TestDB() *valkey.Pool
- func ZCard(t *testing.T, vc valkey.Conn, key string, expected int, msgAndArgs ...any) bool
- func ZGetAll(t *testing.T, vc valkey.Conn, key string, expected map[string]float64, ...) bool
- func ZRange(t *testing.T, vc valkey.Conn, key string, start, stop int, expected []string, ...) bool
- func ZScore(t *testing.T, vc valkey.Conn, key, member string, expected float64, ...) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HGetAll ¶
func HGetAll(t *testing.T, vc valkey.Conn, key string, expected map[string]string, msgAndArgs ...any) bool
HGetAll asserts the result of calling HGETALL on the given key
func LRange ¶
func LRange(t *testing.T, vc valkey.Conn, key string, start, stop int, expected []string, msgAndArgs ...any) bool
LRange asserts the result of calling LRANGE on the given key
func SIsNotMember ¶
SIsNotMember asserts the result of calling SISMEMBER on the given key is false
func ZGetAll ¶
func ZGetAll(t *testing.T, vc valkey.Conn, key string, expected map[string]float64, msgAndArgs ...any) bool
ZGetAll asserts the result of calling ZRANGE <?> 0 -1 WITHSCORES on the given key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.