fakestatsd

package
v1.0.1325-c79c197 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeStatsd

type FakeStatsd struct {
	// contains filtered or unexported fields
}

func New

func New(t testing.TB) *FakeStatsd

func (*FakeStatsd) Addr

func (s *FakeStatsd) Addr() string

func (*FakeStatsd) Metrics

func (s *FakeStatsd) Metrics() []Metric

func (*FakeStatsd) Reset

func (s *FakeStatsd) Reset()

type Metric

type Metric struct {
	Name  string
	Value string
	Tags  string
}

Jump to

Keyboard shortcuts

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