Documentation ¶
Index ¶
- type Client
- func (_m *Client) AddCounter(scope int, counter int, delta int64)
- func (_m *Client) IncCounter(scope int, counter int)
- func (_m *Client) RecordHistogramDuration(scope int, timer int, d time.Duration)
- func (_m *Client) RecordTimer(scope int, timer int, d time.Duration)
- func (_m *Client) Scope(scope int, tags ...metrics.Tag) metrics.Scope
- func (_m *Client) StartTimer(scope int, timer int) tally.Stopwatch
- func (_m *Client) UpdateGauge(scope int, gauge int, value float64)
- type Scope
- func (_m *Scope) AddCounter(counter int, delta int64)
- func (_m *Scope) IncCounter(counter int)
- func (_m *Scope) RecordHistogramDuration(timer int, d time.Duration)
- func (_m *Scope) RecordHistogramValue(timer int, value float64)
- func (_m *Scope) RecordTimer(timer int, d time.Duration)
- func (_m *Scope) StartTimer(timer int) metrics.Stopwatch
- func (_m *Scope) Tagged(tags ...metrics.Tag) metrics.Scope
- func (_m *Scope) UpdateGauge(gauge int, value float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func (*Client) AddCounter ¶
AddCounter provides a mock function with given fields: scope, counter, delta
func (*Client) IncCounter ¶
IncCounter provides a mock function with given fields: scope, counter
func (*Client) RecordHistogramDuration ¶ added in v0.24.0
RecordHistogramDuration provides a mock function with given fields: scope, timer, d
func (*Client) RecordTimer ¶
RecordTimer provides a mock function with given fields: scope, timer, d
func (*Client) Scope ¶ added in v0.5.7
Scope provides a mock function with given fields: scope, tags
func (*Client) StartTimer ¶
StartTimer provides a mock function with given fields: scope, timer
type Scope ¶ added in v0.5.9
Scope is an autogenerated mock type for the Scope type
func (*Scope) AddCounter ¶ added in v0.5.9
AddCounter provides a mock function with given fields: counter, delta
func (*Scope) IncCounter ¶ added in v0.5.9
IncCounter provides a mock function with given fields: counter
func (*Scope) RecordHistogramDuration ¶ added in v0.6.0
RecordHistogramDuration provides a mock function with given fields: timer, d
func (*Scope) RecordHistogramValue ¶ added in v0.6.0
RecordHistogramValue provides a mock function with given fields: timer, value
func (*Scope) RecordTimer ¶ added in v0.5.9
RecordTimer provides a mock function with given fields: timer, d
func (*Scope) StartTimer ¶ added in v0.5.9
StartTimer provides a mock function with given fields: timer
func (*Scope) UpdateGauge ¶ added in v0.5.9
UpdateGauge provides a mock function with given fields: gauge, value