Documentation ¶
Overview ¶
Package mock_events is a generated GoMock package.
Index ¶
- type MockIEvents
- func (m *MockIEvents) EXPECT() *MockIEventsMockRecorder
- func (m *MockIEvents) ListenLiquidations() (*events.LiquidationSubscription, error)
- func (m *MockIEvents) ListenMarketUpdates() (*events.MarketUpdateSubscription, error)
- func (m *MockIEvents) ListenMarketUpdatesBig() (*events.MarketUpdateSubscriptionBig, error)
- func (m *MockIEvents) ListenOrders() (*events.OrderSubscription, error)
- func (m *MockIEvents) ListenTrades() (*events.TradeSubscription, error)
- type MockIEventsMockRecorder
- func (mr *MockIEventsMockRecorder) ListenLiquidations() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenMarketUpdates() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenMarketUpdatesBig() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenOrders() *gomock.Call
- func (mr *MockIEventsMockRecorder) ListenTrades() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIEvents ¶
type MockIEvents struct {
// contains filtered or unexported fields
}
MockIEvents is a mock of IEvents interface.
func NewMockIEvents ¶
func NewMockIEvents(ctrl *gomock.Controller) *MockIEvents
NewMockIEvents creates a new mock instance.
func (*MockIEvents) EXPECT ¶
func (m *MockIEvents) EXPECT() *MockIEventsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIEvents) ListenLiquidations ¶ added in v0.1.3
func (m *MockIEvents) ListenLiquidations() (*events.LiquidationSubscription, error)
ListenLiquidations mocks base method.
func (*MockIEvents) ListenMarketUpdates ¶ added in v0.1.1
func (m *MockIEvents) ListenMarketUpdates() (*events.MarketUpdateSubscription, error)
ListenMarketUpdates mocks base method.
func (*MockIEvents) ListenMarketUpdatesBig ¶ added in v0.1.9
func (m *MockIEvents) ListenMarketUpdatesBig() (*events.MarketUpdateSubscriptionBig, error)
ListenMarketUpdatesBig mocks base method.
func (*MockIEvents) ListenOrders ¶ added in v0.1.0
func (m *MockIEvents) ListenOrders() (*events.OrderSubscription, error)
ListenOrders mocks base method.
func (*MockIEvents) ListenTrades ¶
func (m *MockIEvents) ListenTrades() (*events.TradeSubscription, error)
ListenTrades mocks base method.
type MockIEventsMockRecorder ¶
type MockIEventsMockRecorder struct {
// contains filtered or unexported fields
}
MockIEventsMockRecorder is the mock recorder for MockIEvents.
func (*MockIEventsMockRecorder) ListenLiquidations ¶ added in v0.1.3
func (mr *MockIEventsMockRecorder) ListenLiquidations() *gomock.Call
ListenLiquidations indicates an expected call of ListenLiquidations.
func (*MockIEventsMockRecorder) ListenMarketUpdates ¶ added in v0.1.1
func (mr *MockIEventsMockRecorder) ListenMarketUpdates() *gomock.Call
ListenMarketUpdates indicates an expected call of ListenMarketUpdates.
func (*MockIEventsMockRecorder) ListenMarketUpdatesBig ¶ added in v0.1.9
func (mr *MockIEventsMockRecorder) ListenMarketUpdatesBig() *gomock.Call
ListenMarketUpdatesBig indicates an expected call of ListenMarketUpdatesBig.
func (*MockIEventsMockRecorder) ListenOrders ¶ added in v0.1.0
func (mr *MockIEventsMockRecorder) ListenOrders() *gomock.Call
ListenOrders indicates an expected call of ListenOrders.
func (*MockIEventsMockRecorder) ListenTrades ¶
func (mr *MockIEventsMockRecorder) ListenTrades() *gomock.Call
ListenTrades indicates an expected call of ListenTrades.