Documentation ¶
Overview ¶
Package nsqlbproducermock is a generated GoMock package.
Index ¶
- type MockPublishPinger
- func (m *MockPublishPinger) DeferredPublish(arg0 context.Context, arg1 string, arg2 int64, ...) error
- func (m *MockPublishPinger) EXPECT() *MockPublishPingerMockRecorder
- func (m *MockPublishPinger) Ping() error
- func (m *MockPublishPinger) Publish(arg0 context.Context, arg1 string, arg2 nsqproducer.NsqMessageSerialize) error
- func (m *MockPublishPinger) Stop()
- type MockPublishPingerMockRecorder
- func (mr *MockPublishPingerMockRecorder) DeferredPublish(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockPublishPingerMockRecorder) Ping() *gomock.Call
- func (mr *MockPublishPingerMockRecorder) Publish(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPublishPingerMockRecorder) Stop() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockPublishPinger ¶
type MockPublishPinger struct {
// contains filtered or unexported fields
}
MockPublishPinger is a mock of PublishPinger interface
func NewMockPublishPinger ¶
func NewMockPublishPinger(ctrl *gomock.Controller) *MockPublishPinger
NewMockPublishPinger creates a new mock instance
func (*MockPublishPinger) DeferredPublish ¶
func (m *MockPublishPinger) DeferredPublish(arg0 context.Context, arg1 string, arg2 int64, arg3 nsqproducer.NsqMessageSerialize) error
DeferredPublish mocks base method
func (*MockPublishPinger) EXPECT ¶
func (m *MockPublishPinger) EXPECT() *MockPublishPingerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPublishPinger) Publish ¶
func (m *MockPublishPinger) Publish(arg0 context.Context, arg1 string, arg2 nsqproducer.NsqMessageSerialize) error
Publish mocks base method
type MockPublishPingerMockRecorder ¶
type MockPublishPingerMockRecorder struct {
// contains filtered or unexported fields
}
MockPublishPingerMockRecorder is the mock recorder for MockPublishPinger
func (*MockPublishPingerMockRecorder) DeferredPublish ¶
func (mr *MockPublishPingerMockRecorder) DeferredPublish(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
DeferredPublish indicates an expected call of DeferredPublish
func (*MockPublishPingerMockRecorder) Ping ¶
func (mr *MockPublishPingerMockRecorder) Ping() *gomock.Call
Ping indicates an expected call of Ping
func (*MockPublishPingerMockRecorder) Publish ¶
func (mr *MockPublishPingerMockRecorder) Publish(arg0, arg1, arg2 interface{}) *gomock.Call
Publish indicates an expected call of Publish
func (*MockPublishPingerMockRecorder) Stop ¶
func (mr *MockPublishPingerMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop
Click to show internal directories.
Click to hide internal directories.