Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{
Address: "localhost:8125",
Prefix: "styx",
}
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DecrCounter ¶
DecrCounter a statsd counter
func (*Client) IncrCounter ¶
IncrCounter a statsd counter
type StatsdReporter ¶
type StatsdReporter struct {
// contains filtered or unexported fields
}
func NewStatsdReporter ¶
func NewStatsdReporter(config Config) (sp *StatsdReporter, err error)
func (*StatsdReporter) Close ¶
func (sp *StatsdReporter) Close() (err error)
func (*StatsdReporter) ReportLogStats ¶
func (sp *StatsdReporter) ReportLogStats(name string, stats log.Stat) (err error)
Click to show internal directories.
Click to hide internal directories.