Documentation
¶
Index ¶
- func Exists(t *testing.T, rp *redis.Pool, key string, msgAndArgs ...interface{})
- func FlushDB()
- func Get(t *testing.T, rp *redis.Pool, key string, expected string, ...)
- func HGetAll(t *testing.T, rp *redis.Pool, key string, expected map[string]string, ...)
- func Keys(t *testing.T, rp *redis.Pool, expected []string, msgAndArgs ...interface{})
- func NotExists(t *testing.T, rp *redis.Pool, key string, msgAndArgs ...interface{})
- func SMembers(t *testing.T, rp *redis.Pool, key string, expected []string, ...)
- func TestDB() *redis.Pool
- func ZRange(t *testing.T, rp *redis.Pool, key string, min, max int, expected []string, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HGetAll ¶
func HGetAll(t *testing.T, rp *redis.Pool, key string, expected map[string]string, msgAndArgs ...interface{})
HGetAll asserts the result of calling HGETALL on the given key
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.