cli

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceCmd

type DeviceCmd struct{}

func NewDeviceCmd

func NewDeviceCmd() *DeviceCmd

func (*DeviceCmd) Command

func (c *DeviceCmd) Command() *cobra.Command

type ExitCode

type ExitCode int

func Run

func Run() ExitCode

type InternetCmd

type InternetCmd struct{}

func NewInternetCmd

func NewInternetCmd() *InternetCmd

func (*InternetCmd) Command

func (c *InternetCmd) Command() *cobra.Command

type ValueFormatter added in v0.6.3

type ValueFormatter struct {
	LossRate float64
}

func NewValueFormatter added in v0.6.3

func NewValueFormatter(lossRate float64) *ValueFormatter

func (*ValueFormatter) Format added in v0.6.3

func (f *ValueFormatter) Format(v float64) string

Jump to

Keyboard shortcuts

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