config

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2019 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 Config

type Config struct {
	Metrics []Metric `yaml:"metrics"`
}

func Parse

func Parse(buf []byte) (*Config, error)

type Metric

type Metric struct {
	Name   string              `yaml:"name"`
	Type   string              `yaml:"type"`
	Size   int                 `yaml:"size"`
	Labels map[string][]string `yaml:"labels"`
}

Jump to

Keyboard shortcuts

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