stats

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Godspeed

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

Godspeed stats adapter for Godspeed.

func New

func New(gs *godspeed.Godspeed, tags []string) (g *Godspeed)

New creates a new Godspeed stats adapter.

func (*Godspeed) Incr

func (g *Godspeed) Incr(key string, sampleRate float64)

Incr increments a key.

func (*Godspeed) Tags

func (g *Godspeed) Tags() []string

Tags accessor for `tags`.

Jump to

Keyboard shortcuts

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