Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient() redis.UniversalClient
NewClient creates a redis client for testing. REDIS_ADDR contains a list of comma-separated redis addresses. If there are more than 1 address, cluster is enabled.
func Reset ¶
func Reset(client redis.UniversalClient) error
Reset is used to clear redis for next test.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.