Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockMarketPosition
- func (m *MockMarketPosition) Buy() int64
- func (m *MockMarketPosition) BuySumProduct() *num.Uint
- func (m *MockMarketPosition) ClearPotentials()
- func (m *MockMarketPosition) EXPECT() *MockMarketPositionMockRecorder
- func (m *MockMarketPosition) Party() string
- func (m *MockMarketPosition) Price() *num.Uint
- func (m *MockMarketPosition) Sell() int64
- func (m *MockMarketPosition) SellSumProduct() *num.Uint
- func (m *MockMarketPosition) Size() int64
- func (m *MockMarketPosition) VWBuy() *num.Uint
- func (m *MockMarketPosition) VWSell() *num.Uint
- type MockMarketPositionMockRecorder
- func (mr *MockMarketPositionMockRecorder) Buy() *gomock.Call
- func (mr *MockMarketPositionMockRecorder) BuySumProduct() *gomock.Call
- func (mr *MockMarketPositionMockRecorder) ClearPotentials() *gomock.Call
- func (mr *MockMarketPositionMockRecorder) Party() *gomock.Call
- func (mr *MockMarketPositionMockRecorder) Price() *gomock.Call
- func (mr *MockMarketPositionMockRecorder) Sell() *gomock.Call
- func (mr *MockMarketPositionMockRecorder) SellSumProduct() *gomock.Call
- func (mr *MockMarketPositionMockRecorder) Size() *gomock.Call
- func (mr *MockMarketPositionMockRecorder) VWBuy() *gomock.Call
- func (mr *MockMarketPositionMockRecorder) VWSell() *gomock.Call
- type MockProduct
- type MockProductMockRecorder
- type MockTimeService
- type MockTimeServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockMarketPosition ¶
type MockMarketPosition struct {
// contains filtered or unexported fields
}
MockMarketPosition is a mock of MarketPosition interface.
func NewMockMarketPosition ¶
func NewMockMarketPosition(ctrl *gomock.Controller) *MockMarketPosition
NewMockMarketPosition creates a new mock instance.
func (*MockMarketPosition) BuySumProduct ¶ added in v0.70.0
func (m *MockMarketPosition) BuySumProduct() *num.Uint
BuySumProduct mocks base method.
func (*MockMarketPosition) ClearPotentials ¶
func (m *MockMarketPosition) ClearPotentials()
ClearPotentials mocks base method.
func (*MockMarketPosition) EXPECT ¶
func (m *MockMarketPosition) EXPECT() *MockMarketPositionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMarketPosition) Party ¶
func (m *MockMarketPosition) Party() string
Party mocks base method.
func (*MockMarketPosition) Price ¶
func (m *MockMarketPosition) Price() *num.Uint
Price mocks base method.
func (*MockMarketPosition) SellSumProduct ¶ added in v0.70.0
func (m *MockMarketPosition) SellSumProduct() *num.Uint
SellSumProduct mocks base method.
func (*MockMarketPosition) VWBuy ¶
func (m *MockMarketPosition) VWBuy() *num.Uint
VWBuy mocks base method.
func (*MockMarketPosition) VWSell ¶
func (m *MockMarketPosition) VWSell() *num.Uint
VWSell mocks base method.
type MockMarketPositionMockRecorder ¶
type MockMarketPositionMockRecorder struct {
// contains filtered or unexported fields
}
MockMarketPositionMockRecorder is the mock recorder for MockMarketPosition.
func (*MockMarketPositionMockRecorder) Buy ¶
func (mr *MockMarketPositionMockRecorder) Buy() *gomock.Call
Buy indicates an expected call of Buy.
func (*MockMarketPositionMockRecorder) BuySumProduct ¶ added in v0.70.0
func (mr *MockMarketPositionMockRecorder) BuySumProduct() *gomock.Call
BuySumProduct indicates an expected call of BuySumProduct.
func (*MockMarketPositionMockRecorder) ClearPotentials ¶
func (mr *MockMarketPositionMockRecorder) ClearPotentials() *gomock.Call
ClearPotentials indicates an expected call of ClearPotentials.
func (*MockMarketPositionMockRecorder) Party ¶
func (mr *MockMarketPositionMockRecorder) Party() *gomock.Call
Party indicates an expected call of Party.
func (*MockMarketPositionMockRecorder) Price ¶
func (mr *MockMarketPositionMockRecorder) Price() *gomock.Call
Price indicates an expected call of Price.
func (*MockMarketPositionMockRecorder) Sell ¶
func (mr *MockMarketPositionMockRecorder) Sell() *gomock.Call
Sell indicates an expected call of Sell.
func (*MockMarketPositionMockRecorder) SellSumProduct ¶ added in v0.70.0
func (mr *MockMarketPositionMockRecorder) SellSumProduct() *gomock.Call
SellSumProduct indicates an expected call of SellSumProduct.
func (*MockMarketPositionMockRecorder) Size ¶
func (mr *MockMarketPositionMockRecorder) Size() *gomock.Call
Size indicates an expected call of Size.
func (*MockMarketPositionMockRecorder) VWBuy ¶
func (mr *MockMarketPositionMockRecorder) VWBuy() *gomock.Call
VWBuy indicates an expected call of VWBuy.
func (*MockMarketPositionMockRecorder) VWSell ¶
func (mr *MockMarketPositionMockRecorder) VWSell() *gomock.Call
VWSell indicates an expected call of VWSell.
type MockProduct ¶
type MockProduct struct {
// contains filtered or unexported fields
}
MockProduct is a mock of Product interface.
func NewMockProduct ¶
func NewMockProduct(ctrl *gomock.Controller) *MockProduct
NewMockProduct creates a new mock instance.
func (*MockProduct) EXPECT ¶
func (m *MockProduct) EXPECT() *MockProductMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockProductMockRecorder ¶
type MockProductMockRecorder struct {
// contains filtered or unexported fields
}
MockProductMockRecorder is the mock recorder for MockProduct.
func (*MockProductMockRecorder) GetAsset ¶
func (mr *MockProductMockRecorder) GetAsset() *gomock.Call
GetAsset indicates an expected call of GetAsset.
func (*MockProductMockRecorder) Settle ¶
func (mr *MockProductMockRecorder) Settle(arg0, arg1, arg2 interface{}) *gomock.Call
Settle indicates an expected call of Settle.
type MockTimeService ¶
type MockTimeService struct {
// contains filtered or unexported fields
}
MockTimeService is a mock of TimeService interface.
func NewMockTimeService ¶
func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService
NewMockTimeService creates a new mock instance.
func (*MockTimeService) EXPECT ¶
func (m *MockTimeService) EXPECT() *MockTimeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTimeService) GetTimeNow ¶
func (m *MockTimeService) GetTimeNow() time.Time
GetTimeNow mocks base method.
type MockTimeServiceMockRecorder ¶
type MockTimeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTimeServiceMockRecorder is the mock recorder for MockTimeService.
func (*MockTimeServiceMockRecorder) GetTimeNow ¶
func (mr *MockTimeServiceMockRecorder) GetTimeNow() *gomock.Call
GetTimeNow indicates an expected call of GetTimeNow.