printer

package
v0.0.0-...-ce0f0b0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graph

type Graph struct {
	Title string
	Data  []float64
}

type Printer

type Printer struct {
	Out io.Writer
}

func NewPrinter

func NewPrinter(out io.Writer) *Printer

func (*Printer) Alert

func (p *Printer) Alert(m *metrics.Monitor)

func (*Printer) Render

func (p *Printer) Render(s Summary)

type Summary

type Summary struct {
	Tables []Table
	Graphs []Graph
}

type Table

type Table struct {
	Title  string
	Header []string
	Data   [][]string
}

Jump to

Keyboard shortcuts

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