Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockModule
- func (m *MockModule) Broadcast(arg0 context.Context, arg1 fraud.Proof) error
- func (m *MockModule) EXPECT() *MockModuleMockRecorder
- func (m *MockModule) Get(arg0 context.Context, arg1 fraud.ProofType) ([]fraud.Proof, error)
- func (m *MockModule) Subscribe(arg0 fraud.ProofType) (fraud.Subscription, error)
- type MockModuleMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockModule ¶
type MockModule struct {
// contains filtered or unexported fields
}
MockModule is a mock of Module interface.
func NewMockModule ¶
func NewMockModule(ctrl *gomock.Controller) *MockModule
NewMockModule creates a new mock instance.
func (*MockModule) EXPECT ¶
func (m *MockModule) EXPECT() *MockModuleMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockModule) Subscribe ¶
func (m *MockModule) Subscribe(arg0 fraud.ProofType) (fraud.Subscription, error)
Subscribe mocks base method.
type MockModuleMockRecorder ¶
type MockModuleMockRecorder struct {
// contains filtered or unexported fields
}
MockModuleMockRecorder is the mock recorder for MockModule.
func (*MockModuleMockRecorder) Broadcast ¶
func (mr *MockModuleMockRecorder) Broadcast(arg0, arg1 interface{}) *gomock.Call
Broadcast indicates an expected call of Broadcast.
func (*MockModuleMockRecorder) Get ¶
func (mr *MockModuleMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockModuleMockRecorder) Subscribe ¶
func (mr *MockModuleMockRecorder) Subscribe(arg0 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
Click to show internal directories.
Click to hide internal directories.