redistest

package
v0.2.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL