Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockOffbookSource
- func (m *MockOffbookSource) BestPricesAndVolumes() (*num.Uint, uint64, *num.Uint, uint64)
- func (m *MockOffbookSource) EXPECT() *MockOffbookSourceMockRecorder
- func (m *MockOffbookSource) NotifyFinished()
- func (m *MockOffbookSource) OrderbookShape(arg0, arg1 *num.Uint, arg2 *string) ([]*types.Order, []*types.Order)
- func (m *MockOffbookSource) SubmitOrder(arg0 *types.Order, arg1, arg2 *num.Uint) []*types.Order
- type MockOffbookSourceMockRecorder
- func (mr *MockOffbookSourceMockRecorder) BestPricesAndVolumes() *gomock.Call
- func (mr *MockOffbookSourceMockRecorder) NotifyFinished() *gomock.Call
- func (mr *MockOffbookSourceMockRecorder) OrderbookShape(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockOffbookSourceMockRecorder) SubmitOrder(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOffbookSource ¶
type MockOffbookSource struct {
// contains filtered or unexported fields
}
MockOffbookSource is a mock of OffbookSource interface.
func NewMockOffbookSource ¶
func NewMockOffbookSource(ctrl *gomock.Controller) *MockOffbookSource
NewMockOffbookSource creates a new mock instance.
func (*MockOffbookSource) BestPricesAndVolumes ¶
BestPricesAndVolumes mocks base method.
func (*MockOffbookSource) EXPECT ¶
func (m *MockOffbookSource) EXPECT() *MockOffbookSourceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOffbookSource) NotifyFinished ¶
func (m *MockOffbookSource) NotifyFinished()
NotifyFinished mocks base method.
func (*MockOffbookSource) OrderbookShape ¶
func (m *MockOffbookSource) OrderbookShape(arg0, arg1 *num.Uint, arg2 *string) ([]*types.Order, []*types.Order)
OrderbookShape mocks base method.
func (*MockOffbookSource) SubmitOrder ¶
SubmitOrder mocks base method.
type MockOffbookSourceMockRecorder ¶
type MockOffbookSourceMockRecorder struct {
// contains filtered or unexported fields
}
MockOffbookSourceMockRecorder is the mock recorder for MockOffbookSource.
func (*MockOffbookSourceMockRecorder) BestPricesAndVolumes ¶
func (mr *MockOffbookSourceMockRecorder) BestPricesAndVolumes() *gomock.Call
BestPricesAndVolumes indicates an expected call of BestPricesAndVolumes.
func (*MockOffbookSourceMockRecorder) NotifyFinished ¶
func (mr *MockOffbookSourceMockRecorder) NotifyFinished() *gomock.Call
NotifyFinished indicates an expected call of NotifyFinished.
func (*MockOffbookSourceMockRecorder) OrderbookShape ¶
func (mr *MockOffbookSourceMockRecorder) OrderbookShape(arg0, arg1, arg2 interface{}) *gomock.Call
OrderbookShape indicates an expected call of OrderbookShape.
func (*MockOffbookSourceMockRecorder) SubmitOrder ¶
func (mr *MockOffbookSourceMockRecorder) SubmitOrder(arg0, arg1, arg2 interface{}) *gomock.Call
SubmitOrder indicates an expected call of SubmitOrder.