stats

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2018 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handle

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

Handle is our controller object for statistics/metrics logging/export/collection-for-something-to-retrieve.

func Start

func Start(logger logging.Logger) (*Handle, error)

Start begins handling statistics/metrics.

func (*Handle) Stop

func (h *Handle) Stop()

Stop stops handling statistics/metrics; once stopped, the handle can't be restarted and you'll need to create a new one.

Jump to

Keyboard shortcuts

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