Documentation ¶
Overview ¶
Client library for statsd.
Index ¶
- type Client
- func (c *Client) Close() error
- func (c *Client) Decrement(stat string, count int, rate float64) error
- func (c *Client) Duration(stat string, duration time.Duration, rate float64) error
- func (c *Client) Flush() error
- func (c *Client) Gauge(stat string, value int, rate float64) error
- func (c *Client) Increment(stat string, count int, rate float64) error
- func (c *Client) Time(stat string, rate float64, f func()) error
- func (c *Client) Timing(stat string, delta int, rate float64) error
- func (c *Client) Unique(stat string, value int, rate float64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
A statsd client representing a connection to a statsd server.
func Dial ¶
Dial connects to the given address on the given network using net.Dial and then returns a new Client for the connection.
Click to show internal directories.
Click to hide internal directories.