Help us shape the future of Go! Take the 2026 Go Developer Survey

print

package
v3.7.9 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: AGPL-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 QueryResultPrinter

type QueryResultPrinter struct {
	ShowLabelsKey       []string
	IgnoreLabelsKey     []string
	Quiet               bool
	FixedLabelsLen      int
	Forward             bool
	IncludeCommonLabels bool
}

func NewQueryResultPrinter

func NewQueryResultPrinter(showLabelsKey []string, ignoreLabelsKey []string, quiet bool, fixedLabelsLen int, forward bool, includeCommonLabels bool) *QueryResultPrinter

func (*QueryResultPrinter) PrintResult

func (r *QueryResultPrinter) PrintResult(value loghttp.ResultValue, out output.LogOutput, lastEntry []*loghttp.Entry) (int, []*loghttp.Entry)

func (*QueryResultPrinter) PrintStats

func (r *QueryResultPrinter) PrintStats(stats stats.Result)

Jump to

Keyboard shortcuts

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