Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RedisBundle ¶
type RedisBundle struct {
// contains filtered or unexported fields
}
RedisBundle bundles together a miniredis instance and an associated Redis client.
func MustCreateRedisBundle ¶
func MustCreateRedisBundle(t *testing.T) *RedisBundle
MustCreateRedisBundle returns a new RedisBundle.
func (*RedisBundle) Client ¶
func (rb *RedisBundle) Client() *redis.Client
Client returns the Redis client.
func (*RedisBundle) Close ¶
func (rb *RedisBundle) Close()
Close shuts down the Redis client and miniredis instance.
Click to show internal directories.
Click to hide internal directories.