recordmetrics

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleFunc

HandleFunc returns the function which can handle the /recordmetrics API request.

Types

type Response

type Response struct {
	NumRecordsExported int64 `json:"numRecordsExported,omitempty"`
	NumRecordsReceived int64 `json:"numRecordsReceived,omitempty"`
	NumFlows           int64 `json:"numFlows,omitempty"`
	NumConnToCollector int64 `json:"numConnToCollector,omitempty"`
}

Response is the response struct of recordmetrics command.

func (Response) GetTableHeader

func (r Response) GetTableHeader() []string

func (Response) GetTableRow

func (r Response) GetTableRow(maxColumnLength int) []string

func (Response) SortRows

func (r Response) SortRows() bool

Jump to

Keyboard shortcuts

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