Documentation ¶
Index ¶
- type FakeMetricSender
- func (fms *FakeMetricSender) AddToCounter(name string, delta uint64) error
- func (fms *FakeMetricSender) GetCounter(name string) uint64
- func (fms *FakeMetricSender) GetValue(name string) Metric
- func (fms *FakeMetricSender) IncrementCounter(name string) error
- func (fms *FakeMetricSender) SendValue(name string, value float64, unit string) error
- type Metric
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeMetricSender ¶
func NewFakeMetricSender ¶
func NewFakeMetricSender() *FakeMetricSender
func (*FakeMetricSender) AddToCounter ¶
func (fms *FakeMetricSender) AddToCounter(name string, delta uint64) error
func (*FakeMetricSender) GetCounter ¶
func (fms *FakeMetricSender) GetCounter(name string) uint64
func (*FakeMetricSender) GetValue ¶
func (fms *FakeMetricSender) GetValue(name string) Metric
func (*FakeMetricSender) IncrementCounter ¶
func (fms *FakeMetricSender) IncrementCounter(name string) error
Click to show internal directories.
Click to hide internal directories.