formatting

package
v0.0.0-...-43c0f45 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2019 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pattern

type Pattern struct {
	Namespace     string
	Pattern       string
	Operation     string
	Count         int64
	Min           int64
	Max           int64
	N95Percentile float64
	Sum           int64
}

type Summary

type Summary struct {
	Source  string
	Host    string
	Port    int
	Start   time.Time
	End     time.Time
	Format  map[internal.DateFormat]int
	Length  uint
	Version []version.Definition
	Storage string
	// contains filtered or unexported fields
}

func NewSummary

func NewSummary(name string) Summary

func (Summary) Divider

func (Summary) Divider(w io.Writer)

func (*Summary) Guess

func (s *Summary) Guess(versions []version.Definition)

func (Summary) Print

func (s Summary) Print(w io.Writer)

func (*Summary) Update

func (s *Summary) Update(entry record.Entry) bool

type Table

type Table []Pattern

func (Table) Print

func (patterns Table) Print(wrap bool, out io.Writer)

Jump to

Keyboard shortcuts

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