stats

package
v0.0.0-...-535a2f3 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2018 License: MIT Imports: 11 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct {
	Quota struct {
		Init     bool
		Use, Max uint64
	}
	// contains filtered or unexported fields
}

type Proc

type Proc struct {
	D  *Statsd
	Id id
	procs.Proc
}

func (Proc) Process

func (p Proc) Process(c *scat.Chunk) <-chan procs.Res

func (Proc) Underlying

func (p Proc) Underlying() procs.Proc

type Statsd

type Statsd struct {
	// contains filtered or unexported fields
}

func New

func New() *Statsd

func (*Statsd) Counter

func (st *Statsd) Counter(id id) *Counter

func (*Statsd) WriteTo

func (st *Statsd) WriteTo(w io.Writer) (written int64, err error)

Jump to

Keyboard shortcuts

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