formatter

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2021 License: Apache-2.0 Imports: 9 Imported by: 10

Documentation

Index

Constants

View Source
const DefaultOutputFormat = "text"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config added in v0.9.15

type Config struct {
	TimeFormat string
}

type Formatter

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

func NewFormatter

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

Jump to

Keyboard shortcuts

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