Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server accepts Statsd plaintext lines over TCP and UDP.
func MustStart ¶
MustStart starts statsd server on the given addr.
The incoming connections are processed with insertHandler.
If useProxyProtocol is set to true, then the incoming connections are accepted via proxy protocol. See https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt
MustStop must be called on the returned server when it is no longer needed.
Click to show internal directories.
Click to hide internal directories.