Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockOrderExecutorExtended
- func (m *MockOrderExecutorExtended) CancelOrders(arg0 context.Context, arg1 ...types.Order) error
- func (m *MockOrderExecutorExtended) EXPECT() *MockOrderExecutorExtendedMockRecorder
- func (m *MockOrderExecutorExtended) Position() *types.Position
- func (m *MockOrderExecutorExtended) SubmitOrders(arg0 context.Context, arg1 ...types.SubmitOrder) (types.OrderSlice, error)
- func (m *MockOrderExecutorExtended) TradeCollector() *core.TradeCollector
- type MockOrderExecutorExtendedMockRecorder
- func (mr *MockOrderExecutorExtendedMockRecorder) CancelOrders(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockOrderExecutorExtendedMockRecorder) Position() *gomock.Call
- func (mr *MockOrderExecutorExtendedMockRecorder) SubmitOrders(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockOrderExecutorExtendedMockRecorder) TradeCollector() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockOrderExecutorExtended ¶
type MockOrderExecutorExtended struct {
// contains filtered or unexported fields
}
MockOrderExecutorExtended is a mock of OrderExecutorExtended interface.
func NewMockOrderExecutorExtended ¶
func NewMockOrderExecutorExtended(ctrl *gomock.Controller) *MockOrderExecutorExtended
NewMockOrderExecutorExtended creates a new mock instance.
func (*MockOrderExecutorExtended) CancelOrders ¶
CancelOrders mocks base method.
func (*MockOrderExecutorExtended) EXPECT ¶
func (m *MockOrderExecutorExtended) EXPECT() *MockOrderExecutorExtendedMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOrderExecutorExtended) Position ¶
func (m *MockOrderExecutorExtended) Position() *types.Position
Position mocks base method.
func (*MockOrderExecutorExtended) SubmitOrders ¶
func (m *MockOrderExecutorExtended) SubmitOrders(arg0 context.Context, arg1 ...types.SubmitOrder) (types.OrderSlice, error)
SubmitOrders mocks base method.
func (*MockOrderExecutorExtended) TradeCollector ¶
func (m *MockOrderExecutorExtended) TradeCollector() *core.TradeCollector
TradeCollector mocks base method.
type MockOrderExecutorExtendedMockRecorder ¶
type MockOrderExecutorExtendedMockRecorder struct {
// contains filtered or unexported fields
}
MockOrderExecutorExtendedMockRecorder is the mock recorder for MockOrderExecutorExtended.
func (*MockOrderExecutorExtendedMockRecorder) CancelOrders ¶
func (mr *MockOrderExecutorExtendedMockRecorder) CancelOrders(arg0 interface{}, arg1 ...interface{}) *gomock.Call
CancelOrders indicates an expected call of CancelOrders.
func (*MockOrderExecutorExtendedMockRecorder) Position ¶
func (mr *MockOrderExecutorExtendedMockRecorder) Position() *gomock.Call
Position indicates an expected call of Position.
func (*MockOrderExecutorExtendedMockRecorder) SubmitOrders ¶
func (mr *MockOrderExecutorExtendedMockRecorder) SubmitOrders(arg0 interface{}, arg1 ...interface{}) *gomock.Call
SubmitOrders indicates an expected call of SubmitOrders.
func (*MockOrderExecutorExtendedMockRecorder) TradeCollector ¶
func (mr *MockOrderExecutorExtendedMockRecorder) TradeCollector() *gomock.Call
TradeCollector indicates an expected call of TradeCollector.