dummyapp: go.pennock.tech/dummyapp/internal/stats Index | Files

package stats

import "go.pennock.tech/dummyapp/internal/stats"


Package Files

general.go no_heroku.go

type Handle Uses

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 Uses

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

Start begins handling statistics/metrics.

func (*Handle) Stop Uses

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.

Package stats imports 1 packages (graph) and is imported by 2 packages. Updated 2018-06-13. Refresh now. Tools for package owners.