tools

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateRedisClient

func CreateRedisClient(settings ConnectionSettings) (*redis.Client, error)

func PrepareTest

func PrepareTest(model, group, user, test string, client *redis.Client) (*testData, error)

func RedisDBCleaner

func RedisDBCleaner(conn *redis.Client) error

Types

type ConnectionSettings

type ConnectionSettings struct {
	Network  string
	Addr     string
	Username string
	Password string
	DB       int
}

Jump to

Keyboard shortcuts

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