cmd

package
v0.0.0-...-0ccfc8b Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2021 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DumpCommand

type DumpCommand struct {
	Iface string
}

func (*DumpCommand) Execute

func (d *DumpCommand) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*DumpCommand) Name

func (d *DumpCommand) Name() string

func (*DumpCommand) SetFlags

func (d *DumpCommand) SetFlags(f *flag.FlagSet)

func (*DumpCommand) Synopsis

func (d *DumpCommand) Synopsis() string

func (*DumpCommand) Usage

func (d *DumpCommand) Usage() string

type IdsCommand

type IdsCommand struct {
	Iface string
}

func (*IdsCommand) Execute

func (id *IdsCommand) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*IdsCommand) Name

func (*IdsCommand) Name() string

func (*IdsCommand) SetFlags

func (ids *IdsCommand) SetFlags(f *flag.FlagSet)

func (*IdsCommand) Synopsis

func (*IdsCommand) Synopsis() string

func (*IdsCommand) Usage

func (*IdsCommand) Usage() string

type PingCommand

type PingCommand struct {
	Iface string
	Dst   string
	Debug bool
}

func (*PingCommand) Execute

func (p *PingCommand) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*PingCommand) Name

func (p *PingCommand) Name() string

func (*PingCommand) SetFlags

func (p *PingCommand) SetFlags(f *flag.FlagSet)

func (*PingCommand) Synopsis

func (p *PingCommand) Synopsis() string

func (*PingCommand) Usage

func (p *PingCommand) Usage() string

type TcpClientCommand

type TcpClientCommand struct {
	Iface string
	Addr  string
	Port  int
	Debug bool
}

func (*TcpClientCommand) Execute

func (c *TcpClientCommand) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*TcpClientCommand) Name

func (c *TcpClientCommand) Name() string

func (*TcpClientCommand) SetFlags

func (c *TcpClientCommand) SetFlags(f *flag.FlagSet)

func (*TcpClientCommand) Synopsis

func (c *TcpClientCommand) Synopsis() string

func (*TcpClientCommand) Usage

func (c *TcpClientCommand) Usage() string

type TcpServerCommand

type TcpServerCommand struct {
	Iface string
	Port  int
	Debug bool
}

func (*TcpServerCommand) Execute

func (s *TcpServerCommand) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*TcpServerCommand) Name

func (*TcpServerCommand) Name() string

func (*TcpServerCommand) SetFlags

func (s *TcpServerCommand) SetFlags(f *flag.FlagSet)

func (*TcpServerCommand) Synopsis

func (*TcpServerCommand) Synopsis() string

func (*TcpServerCommand) Usage

func (*TcpServerCommand) Usage() string

Jump to

Keyboard shortcuts

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