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 MockMarketLiquidity ¶
type MockMarketLiquidity struct {
// contains filtered or unexported fields
}
MockMarketLiquidity is a mock of MarketLiquidity interface.
func NewMockMarketLiquidity ¶
func NewMockMarketLiquidity(ctrl *gomock.Controller) *MockMarketLiquidity
NewMockMarketLiquidity creates a new mock instance.
func (*MockMarketLiquidity) EXPECT ¶
func (m *MockMarketLiquidity) EXPECT() *MockMarketLiquidityMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMarketLiquidity) ValidOrdersPriceRange ¶
ValidOrdersPriceRange mocks base method.
type MockMarketLiquidityMockRecorder ¶
type MockMarketLiquidityMockRecorder struct {
// contains filtered or unexported fields
}
MockMarketLiquidityMockRecorder is the mock recorder for MockMarketLiquidity.
func (*MockMarketLiquidityMockRecorder) ValidOrdersPriceRange ¶
func (mr *MockMarketLiquidityMockRecorder) ValidOrdersPriceRange() *gomock.Call
ValidOrdersPriceRange indicates an expected call of ValidOrdersPriceRange.
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.