Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBook ¶
type MockBook struct {
// contains filtered or unexported fields
}
MockBook is a mock of Book interface.
func NewMockBook ¶
func NewMockBook(ctrl *gomock.Controller) *MockBook
NewMockBook creates a new mock instance.
func (*MockBook) EXPECT ¶
func (m *MockBook) EXPECT() *MockBookMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockBookMockRecorder ¶
type MockBookMockRecorder struct {
// contains filtered or unexported fields
}
MockBookMockRecorder is the mock recorder for MockBook.
func (*MockBookMockRecorder) GetVolumeAtPrice ¶
func (mr *MockBookMockRecorder) GetVolumeAtPrice(arg0, arg1 interface{}) *gomock.Call
GetVolumeAtPrice indicates an expected call of GetVolumeAtPrice.
type MockIDGen ¶
type MockIDGen struct {
// contains filtered or unexported fields
}
MockIDGen is a mock of IDGen interface.
func NewMockIDGen ¶
func NewMockIDGen(ctrl *gomock.Controller) *MockIDGen
NewMockIDGen creates a new mock instance.
func (*MockIDGen) EXPECT ¶
func (m *MockIDGen) EXPECT() *MockIDGenMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIDGenMockRecorder ¶
type MockIDGenMockRecorder struct {
// contains filtered or unexported fields
}
MockIDGenMockRecorder is the mock recorder for MockIDGen.
func (*MockIDGenMockRecorder) NextID ¶
func (mr *MockIDGenMockRecorder) NextID() *gomock.Call
NextID indicates an expected call of NextID.
type MockPositions ¶
type MockPositions struct {
// contains filtered or unexported fields
}
MockPositions is a mock of Positions interface.
func NewMockPositions ¶
func NewMockPositions(ctrl *gomock.Controller) *MockPositions
NewMockPositions creates a new mock instance.
func (*MockPositions) EXPECT ¶
func (m *MockPositions) EXPECT() *MockPositionsMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPositions) RegisterOrder ¶
func (m *MockPositions) RegisterOrder(arg0 context.Context, arg1 *types.Order) *positions.MarketPosition
RegisterOrder mocks base method.
type MockPositionsMockRecorder ¶
type MockPositionsMockRecorder struct {
// contains filtered or unexported fields
}
MockPositionsMockRecorder is the mock recorder for MockPositions.
func (*MockPositionsMockRecorder) RegisterOrder ¶
func (mr *MockPositionsMockRecorder) RegisterOrder(arg0, arg1 interface{}) *gomock.Call
RegisterOrder indicates an expected call of RegisterOrder.
func (*MockPositionsMockRecorder) Update ¶
func (mr *MockPositionsMockRecorder) Update(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockPriceMonitor ¶ added in v0.74.7
type MockPriceMonitor struct {
// contains filtered or unexported fields
}
MockPriceMonitor is a mock of PriceMonitor interface.
func NewMockPriceMonitor ¶ added in v0.74.7
func NewMockPriceMonitor(ctrl *gomock.Controller) *MockPriceMonitor
NewMockPriceMonitor creates a new mock instance.
func (*MockPriceMonitor) EXPECT ¶ added in v0.74.7
func (m *MockPriceMonitor) EXPECT() *MockPriceMonitorMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPriceMonitor) GetValidPriceRange ¶ added in v0.74.7
func (m *MockPriceMonitor) GetValidPriceRange() (num.WrappedDecimal, num.WrappedDecimal)
GetValidPriceRange mocks base method.
type MockPriceMonitorMockRecorder ¶ added in v0.74.7
type MockPriceMonitorMockRecorder struct {
// contains filtered or unexported fields
}
MockPriceMonitorMockRecorder is the mock recorder for MockPriceMonitor.
func (*MockPriceMonitorMockRecorder) GetValidPriceRange ¶ added in v0.74.7
func (mr *MockPriceMonitorMockRecorder) GetValidPriceRange() *gomock.Call
GetValidPriceRange indicates an expected call of GetValidPriceRange.