mockredis

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockRedisServer

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

func NewMockRedisServer

func NewMockRedisServer(port int) *MockRedisServer

func (*MockRedisServer) Addr

func (m *MockRedisServer) Addr() string

func (*MockRedisServer) FastForward

func (m *MockRedisServer) FastForward(duration time.Duration)

func (*MockRedisServer) GetRedigoPool

func (m *MockRedisServer) GetRedigoPool() *redigo.Pool

func (*MockRedisServer) GetRedisClient

func (m *MockRedisServer) GetRedisClient() *redis.Client

func (*MockRedisServer) Host

func (m *MockRedisServer) Host() string

func (*MockRedisServer) Port

func (m *MockRedisServer) Port() string

Jump to

Keyboard shortcuts

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