statsd

package
v0.0.0-...-6c624c4 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromContext

func FromContext(ctx context.Context) *_statsd.Client

func WithContext

func WithContext(ctx context.Context, c *_statsd.Client) context.Context

Types

type DummyTiming

type DummyTiming struct {
}

func (DummyTiming) Send

func (dt DummyTiming) Send(bucket string)

type TimingInt

type TimingInt interface {
	Send(string)
}

func NewStatsDTiming

func NewStatsDTiming(ctx context.Context) TimingInt

Jump to

Keyboard shortcuts

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