stats

package
v0.0.0-...-30f5ca6 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Record

func Record(ctx context.Context, m ...core.Measurement)

func RecordSingle

func RecordSingle(ctx context.Context, m core.Measurement)

Types

type Interface

type Interface interface {
	Record(ctx context.Context, m ...core.Measurement)
	RecordSingle(ctx context.Context, m core.Measurement)
}

type Recorder

type Recorder struct {
	core.ScopeID
}

func With

func With(scope scope.Scope) Recorder

func (Recorder) Record

func (r Recorder) Record(ctx context.Context, m ...core.Measurement)

func (Recorder) RecordSingle

func (r Recorder) RecordSingle(ctx context.Context, m core.Measurement)

Jump to

Keyboard shortcuts

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