testredisprovider

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestRedisProvider

type TestRedisProvider struct {
	// contains filtered or unexported fields
}

func NewTestRedisProvider

func NewTestRedisProvider() *TestRedisProvider

func NewTestRedisProviderNum added in v0.5.1

func NewTestRedisProviderNum(num int) *TestRedisProvider

func (*TestRedisProvider) Close

func (t *TestRedisProvider) Close(ctx context.Context) (err error)

func (*TestRedisProvider) Init

func (t *TestRedisProvider) Init(a *app.App) (err error)

func (*TestRedisProvider) Name

func (t *TestRedisProvider) Name() (name string)

func (*TestRedisProvider) Redis

func (t *TestRedisProvider) Redis() redis.UniversalClient

func (*TestRedisProvider) Run

func (t *TestRedisProvider) Run(ctx context.Context) (err error)

func (*TestRedisProvider) WithDb

func (t *TestRedisProvider) WithDb(db int) *TestRedisProvider

func (*TestRedisProvider) WithFLush

func (t *TestRedisProvider) WithFLush(flushOnStart bool) *TestRedisProvider

Jump to

Keyboard shortcuts

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