Documentation ¶
Index ¶
- type MockClient
- func (_m *MockClient) BRPopLPush(_param0 string, _param1 string, _param2 time.Duration) ([]byte, error)
- func (_m *MockClient) ConnectionState() string
- func (_m *MockClient) EXPECT() *_MockClientRecorder
- func (_m *MockClient) Endpoint() string
- func (_m *MockClient) LPush(_param0 string, _param1 []byte) error
- func (_m *MockClient) LRem(_param0 string, _param1 []byte) error
- func (_m *MockClient) Start() error
- func (_m *MockClient) Stop() error
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 (*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) Start ¶
func (_m *MockClient) Start() error
func (*MockClient) Stop ¶
func (_m *MockClient) Stop() error
Click to show internal directories.
Click to hide internal directories.