flags

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Common

type Common struct {
	Snaplen int
	Iface   string
	Port    int
	Pcap    string
	Lazy    bool
	Body    bool
	Gunzip  bool
}

type Flags

type Flags struct {
	Common *Common
	Stats  *stats_flags.GlobalFlags
	// contains filtered or unexported fields
}

func NewFlags

func NewFlags(iface string) *Flags

func (*Flags) InitCommonFlags

func (f *Flags) InitCommonFlags(app *kingpin.Application)

Jump to

Keyboard shortcuts

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