Documentation ¶
Overview ¶
Package mock_publisher is a generated GoMock package.
Index ¶
- type MockCallback
- type MockCallbackMockRecorder
- func (mr *MockCallbackMockRecorder) OnPublish(arg0 interface{}) *gomock.Call
- func (mr *MockCallbackMockRecorder) OnPublishTemporary(arg0 interface{}) *gomock.Call
- func (mr *MockCallbackMockRecorder) OnRemove(arg0 interface{}) *gomock.Call
- func (mr *MockCallbackMockRecorder) OnRemoveAll() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCallback ¶
type MockCallback struct {
// contains filtered or unexported fields
}
MockCallback is a mock of Callback interface.
func NewMockCallback ¶
func NewMockCallback(ctrl *gomock.Controller) *MockCallback
NewMockCallback creates a new mock instance.
func (*MockCallback) EXPECT ¶
func (m *MockCallback) EXPECT() *MockCallbackMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCallback) OnPublish ¶
func (m *MockCallback) OnPublish(arg0 *pubdata.Paragraph) error
OnPublish mocks base method.
func (*MockCallback) OnPublishTemporary ¶
func (m *MockCallback) OnPublishTemporary(arg0 *pubdata.Paragraph) error
OnPublishTemporary mocks base method.
func (*MockCallback) OnRemove ¶
func (m *MockCallback) OnRemove(arg0 int) error
OnRemove mocks base method.
func (*MockCallback) OnRemoveAll ¶
func (m *MockCallback) OnRemoveAll() error
OnRemoveAll mocks base method.
type MockCallbackMockRecorder ¶
type MockCallbackMockRecorder struct {
// contains filtered or unexported fields
}
MockCallbackMockRecorder is the mock recorder for MockCallback.
func (*MockCallbackMockRecorder) OnPublish ¶
func (mr *MockCallbackMockRecorder) OnPublish(arg0 interface{}) *gomock.Call
OnPublish indicates an expected call of OnPublish.
func (*MockCallbackMockRecorder) OnPublishTemporary ¶
func (mr *MockCallbackMockRecorder) OnPublishTemporary(arg0 interface{}) *gomock.Call
OnPublishTemporary indicates an expected call of OnPublishTemporary.
func (*MockCallbackMockRecorder) OnRemove ¶
func (mr *MockCallbackMockRecorder) OnRemove(arg0 interface{}) *gomock.Call
OnRemove indicates an expected call of OnRemove.
func (*MockCallbackMockRecorder) OnRemoveAll ¶
func (mr *MockCallbackMockRecorder) OnRemoveAll() *gomock.Call
OnRemoveAll indicates an expected call of OnRemoveAll.