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