Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockOracleEngine
- func (m *MockOracleEngine) EXPECT() *MockOracleEngineMockRecorder
- func (m *MockOracleEngine) ListensToSigners(arg0 oracles.OracleData) bool
- func (m *MockOracleEngine) Subscribe(arg0 context.Context, arg1 oracles.OracleSpec, ...) (oracles.SubscriptionID, oracles.Unsubscriber)
- func (m *MockOracleEngine) Unsubscribe(arg0 context.Context, arg1 oracles.SubscriptionID)
- type MockOracleEngineMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOracleEngine ¶
type MockOracleEngine struct {
// contains filtered or unexported fields
}
MockOracleEngine is a mock of OracleEngine interface.
func NewMockOracleEngine ¶
func NewMockOracleEngine(ctrl *gomock.Controller) *MockOracleEngine
NewMockOracleEngine creates a new mock instance.
func (*MockOracleEngine) EXPECT ¶
func (m *MockOracleEngine) EXPECT() *MockOracleEngineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOracleEngine) ListensToSigners ¶
func (m *MockOracleEngine) ListensToSigners(arg0 oracles.OracleData) bool
ListensToSigners mocks base method.
func (*MockOracleEngine) Subscribe ¶
func (m *MockOracleEngine) Subscribe(arg0 context.Context, arg1 oracles.OracleSpec, arg2 oracles.OnMatchedOracleData) (oracles.SubscriptionID, oracles.Unsubscriber)
Subscribe mocks base method.
func (*MockOracleEngine) Unsubscribe ¶
func (m *MockOracleEngine) Unsubscribe(arg0 context.Context, arg1 oracles.SubscriptionID)
Unsubscribe mocks base method.
type MockOracleEngineMockRecorder ¶
type MockOracleEngineMockRecorder struct {
// contains filtered or unexported fields
}
MockOracleEngineMockRecorder is the mock recorder for MockOracleEngine.
func (*MockOracleEngineMockRecorder) ListensToSigners ¶
func (mr *MockOracleEngineMockRecorder) ListensToSigners(arg0 interface{}) *gomock.Call
ListensToSigners indicates an expected call of ListensToSigners.
func (*MockOracleEngineMockRecorder) Subscribe ¶
func (mr *MockOracleEngineMockRecorder) Subscribe(arg0, arg1, arg2 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockOracleEngineMockRecorder) Unsubscribe ¶
func (mr *MockOracleEngineMockRecorder) Unsubscribe(arg0, arg1 interface{}) *gomock.Call
Unsubscribe indicates an expected call of Unsubscribe.
Click to show internal directories.
Click to hide internal directories.