mock

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package mock mocks dogstatsdclient.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatsdMock

type StatsdMock struct {
}

StatsdMock mocks dogstatsd client.

func (*StatsdMock) Close

func (s *StatsdMock) Close() error

Close the client connection.

func (*StatsdMock) Count

func (s *StatsdMock) Count(name string, value int64, tags []string, rate float64) error

Count tracks how many times something happened per second.

func (*StatsdMock) Gauge

func (s *StatsdMock) Gauge(name string, value float64, tags []string, rate float64) error

Gauge measures the value of a metric at a particular time.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL