Documentation
¶
Index ¶
- type Metrics
- func (_m *Metrics) AddProviderCountForMarket(market string, count int)
- func (_m *Metrics) AddProviderTick(providerName string, pairID string, success bool)
- func (_m *Metrics) AddTick()
- func (_m *Metrics) AddTickerTick(ticker string)
- func (_m *Metrics) SetSlinkyBuildInfo()
- func (_m *Metrics) UpdateAggregatePrice(pairID string, decimals uint64, price float64)
- func (_m *Metrics) UpdatePrice(name string, pairID string, decimals uint64, price float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
Metrics is an autogenerated mock type for the Metrics type
func NewMetrics ¶
NewMetrics creates a new instance of Metrics. 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 (*Metrics) AddProviderCountForMarket ¶
AddProviderCountForMarket provides a mock function with given fields: market, count
func (*Metrics) AddProviderTick ¶
AddProviderTick provides a mock function with given fields: providerName, pairID, success
func (*Metrics) AddTick ¶
func (_m *Metrics) AddTick()
AddTick provides a mock function with no fields
func (*Metrics) AddTickerTick ¶
AddTickerTick provides a mock function with given fields: ticker
func (*Metrics) SetSlinkyBuildInfo ¶
func (_m *Metrics) SetSlinkyBuildInfo()
SetSlinkyBuildInfo provides a mock function with no fields
func (*Metrics) UpdateAggregatePrice ¶
UpdateAggregatePrice provides a mock function with given fields: pairID, decimals, price