metrics

package
v0.0.0-...-1bb1427 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metric

type Metric struct {
	Path string
	Data map[string]interface{}
}

func NewMetric

func NewMetric(path string, data map[string]interface{}) Metric

type Metrics

type Metrics struct {
	Origin repository.Repository
	Items  []Metric
	// contains filtered or unexported fields
}

func New

func New(origin repository.Repository) *Metrics

func Retrieve

func Retrieve(r repository.Repository) *Metrics

func (*Metrics) Add

func (m *Metrics) Add(items ...Metric)

Jump to

Keyboard shortcuts

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