package
1.20240719.1
Repository: https://github.com/blend/go-sdk.git
Documentation: pkg.go.dev

# Functions

IsErrUseOfClosedNetworkConnection is an error class checker.
New creates a new statsd client and opens the underlying UDP connection.
NewUDPListener returns a new UDP listener for a given address.
NewUnixgramListener returns a new unixgram listener for a given path.
OptAddr sets the client address.
OptConfig sets fields on a client from a given config.
OptDialTimeout sets the client dial timeout.
OptMaxBufferSize sets the client max buffer size in messages.
OptMaxPacketSize sets the client max dial size.
OptSampleRate sets the sample rate on the client or the percent of packets to send on the interval [0,1.0).
SplitTag splits a given tag in a key and a value.
Tag formats a tag with a given key and value.

# Constants

Constants.
Constants.
2^12 or 4kB.
Error classes.
Error classes.
Error classes.
MetricTypes.
MetricTypes.
MetricTypes.
MetricTypes.
MetricTypes.

# Structs

Client is a statsd client.
Config is the set of options for the statsd client.
Metric is a statsd metric.
Server is a listener for statsd metrics.

# Type aliases

ClientOpt is an option for a client.