formatter

package
v0.8.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2018 License: Apache-2.0 Imports: 8 Imported by: 10

Documentation

Index

Constants

View Source
const DefaultOutputFormat = "text"

Variables

This section is empty.

Functions

This section is empty.

Types

type Formatter

type Formatter interface {
	Write(out io.Writer, set querier.SeriesSet) error
}

func NewFormatter

func NewFormatter(format string, cfg *FormatterConfig) (Formatter, error)

type FormatterConfig

type FormatterConfig struct {
	TimeFormat string
}

Jump to

Keyboard shortcuts

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