redistest

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

Mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

func (*MockClient) BRPopLPush

func (_m *MockClient) BRPopLPush(_param0 string, _param1 string, _param2 time.Duration) ([]byte, error)

func (*MockClient) ConnectionState

func (_m *MockClient) ConnectionState() string

func (*MockClient) EXPECT

func (_m *MockClient) EXPECT() *_MockClientRecorder

func (*MockClient) Endpoint

func (_m *MockClient) Endpoint() string

func (*MockClient) IsRunning added in v1.5.0

func (_m *MockClient) IsRunning() bool

func (*MockClient) LPush

func (_m *MockClient) LPush(_param0 string, _param1 []byte) error

func (*MockClient) LRem

func (_m *MockClient) LRem(_param0 string, _param1 []byte) error

func (*MockClient) Start

func (_m *MockClient) Start() error

func (*MockClient) Stop

func (_m *MockClient) Stop() error

Jump to

Keyboard shortcuts

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