analyzecli

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Display

type Display interface {
	Warn(string) error
	Stats(analyzer.Stats) error
	End()
}

func JSONDisplay added in v1.0.0

func JSONDisplay(stats bool, pcapsize int64, span nano.Span) Display

func StatusLineDisplay added in v1.0.0

func StatusLineDisplay(stats bool, pcapsize int64, span nano.Span) Display

type MsgStatus

type MsgStatus struct {
	Type          string     `json:"type"`
	Ts            nano.Ts    `json:"ts"`
	PcapReadSize  int64      `json:"pcap_read_size"`
	PcapTotalSize int64      `json:"pcap_total_size"`
	Span          *nano.Span `json:"span,omitempty"`
	ValuesWritten int64      `json:"values_written"`
}

type MsgWarning

type MsgWarning struct {
	Type    string `json:"type"`
	Warning string `json:"warning"`
}

Jump to

Keyboard shortcuts

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