Documentation
¶
Index ¶
- type OracleService
- func (_m *OracleService) MarketMap(_a0 context.Context, _a1 *types.QueryMarketMapRequest) (*types.QueryMarketMapResponse, error)
- func (_m *OracleService) Prices(_a0 context.Context, _a1 *types.QueryPricesRequest) (*types.QueryPricesResponse, error)
- func (_m *OracleService) Start(_a0 context.Context) error
- func (_m *OracleService) Stop(_a0 context.Context) error
- func (_m *OracleService) Version(_a0 context.Context, _a1 *types.QueryVersionRequest) (*types.QueryVersionResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OracleService ¶
OracleService is an autogenerated mock type for the OracleService type
func NewOracleService ¶
func NewOracleService(t interface { mock.TestingT Cleanup(func()) }) *OracleService
NewOracleService creates a new instance of OracleService. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*OracleService) MarketMap ¶
func (_m *OracleService) MarketMap(_a0 context.Context, _a1 *types.QueryMarketMapRequest) (*types.QueryMarketMapResponse, error)
MarketMap provides a mock function with given fields: _a0, _a1
func (*OracleService) Prices ¶
func (_m *OracleService) Prices(_a0 context.Context, _a1 *types.QueryPricesRequest) (*types.QueryPricesResponse, error)
Prices provides a mock function with given fields: _a0, _a1
func (*OracleService) Start ¶
func (_m *OracleService) Start(_a0 context.Context) error
Start provides a mock function with given fields: _a0
func (*OracleService) Stop ¶
func (_m *OracleService) Stop(_a0 context.Context) error
Stop provides a mock function with given fields: _a0
func (*OracleService) Version ¶
func (_m *OracleService) Version(_a0 context.Context, _a1 *types.QueryVersionRequest) (*types.QueryVersionResponse, error)
Version provides a mock function with given fields: _a0, _a1
Click to show internal directories.
Click to hide internal directories.