statsd

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DialWriter

func DialWriter(config WriterConfig) (w lib.Writer, err error)

func NewWriter

func NewWriter(group string, stream string) (w lib.Writer, err error)

Types

type Client

type Client interface {
	io.Closer

	Flush() error

	IncrEvents(ecslogs.Level, int) error
}

type WriterConfig

type WriterConfig struct {
	Address string
	Group   string
	Stream  string
	Dial    func(addr string, group string, stream string) (Client, error)
}

Jump to

Keyboard shortcuts

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