command

package
v0.0.0-...-160cdcc Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateCaCommand

func NewCreateCaCommand() app.CommandInterface

func NewCreateClientCommand

func NewCreateClientCommand() app.CommandInterface

func NewCreateServerCommand

func NewCreateServerCommand() app.CommandInterface

func NewDebugClientCommand

func NewDebugClientCommand() app.CommandInterface

func NewDnCommand

func NewDnCommand() app.CommandInterface

func NewHostCommand

func NewHostCommand() app.CommandInterface

func NewListenCommand

func NewListenCommand() app.CommandInterface

Types

type Container

type Container struct {
	// contains filtered or unexported fields
}

func (*Container) AddFlags

func (c *Container) AddFlags(set *pflag.FlagSet)

func (*Container) Env

func (c *Container) Env(s string) string

func (*Container) GetApp

func (c *Container) GetApp() *app.App

func (*Container) GetArgs

func (c *Container) GetArgs() []string

func (*Container) GetCurrent

func (c *Container) GetCurrent() app.CommandInterface

func (*Container) GetFlags

func (c *Container) GetFlags() *pflag.FlagSet

func (*Container) GetLogger

func (c *Container) GetLogger() *logger.Logger

func (*Container) GetVerboseLevel

func (c *Container) GetVerboseLevel() int

func (*Container) SetApp

func (c *Container) SetApp(a *app.App)

func (*Container) SetCurrent

func (c *Container) SetCurrent(a app.CommandInterface)

type CreateCaCommand

type CreateCaCommand struct {
	// contains filtered or unexported fields
}

func (CreateCaCommand) Init

func (c CreateCaCommand) Init(a *app.App) error

func (CreateCaCommand) Run

func (c CreateCaCommand) Run(args []string, app *app.App) error

type CreateClientCommand

type CreateClientCommand struct {
	// contains filtered or unexported fields
}

func (CreateClientCommand) Init

func (c CreateClientCommand) Init(a *app.App) error

func (CreateClientCommand) Run

func (c CreateClientCommand) Run(args []string, app *app.App) error

type CreateServerCommand

type CreateServerCommand struct {
	// contains filtered or unexported fields
}

func (CreateServerCommand) Init

func (c CreateServerCommand) Init(a *app.App) error

func (CreateServerCommand) Run

func (c CreateServerCommand) Run(args []string, app *app.App) error

type DebugClientCommand

type DebugClientCommand struct {
	// contains filtered or unexported fields
}

func (*DebugClientCommand) Init

func (c *DebugClientCommand) Init(a *app.App) error

func (DebugClientCommand) Run

func (c DebugClientCommand) Run(args []string, app *app.App) error

type ListenCommand

type ListenCommand struct {
	app.Command
}

func (*ListenCommand) Init

func (c *ListenCommand) Init(a *app.App) error

func (*ListenCommand) Run

func (c *ListenCommand) Run(args []string, app *app.App) error

Jump to

Keyboard shortcuts

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