Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddDebugCommands ¶
AddDebugCommands returns standard operational CLI commands for probes and network tests.
Types ¶
type CLIBinding ¶
CLIBinding maps an action to a command name, documentation, and examples.
func Command ¶
func Command(cmd, desc string) CLIBinding
Command constructs a new CLI route binding.
func (CLIBinding) String ¶
func (b CLIBinding) String() string
func (CLIBinding) WithAliases ¶
func (b CLIBinding) WithAliases(aliases ...string) CLIBinding
WithAliases attaches alternative invocation aliases.
func (CLIBinding) WithExamples ¶ added in v0.2.0
func (b CLIBinding) WithExamples(examples ...string) CLIBinding
WithExamples attaches usage examples to the command help output.
type Option ¶
type Option func(*Transport)
func WithExecutable ¶ added in v0.2.0
WithExecutable overrides the binary name used in CLI help & usage output.
func WithOutput ¶
type Transport ¶
type Transport struct {
// contains filtered or unexported fields
}
func (*Transport) PrintCommandHelp ¶
Click to show internal directories.
Click to hide internal directories.