Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AgentCommand ¶
type AgentCommand struct {
// contains filtered or unexported fields
}
AgentCommand implements agent subcommand.
type Cli ¶
type Cli struct {
// contains filtered or unexported fields
}
Cli is the entrance of nap, it manage all commands.
func (*Cli) AddCommand ¶
AddCommand add a subcommand.
type MasterCommand ¶
type MasterCommand struct {
// contains filtered or unexported fields
}
MasterCommand implements master subcommand.
type VersionCommand ¶
type VersionCommand struct {
// contains filtered or unexported fields
}
VersionCommand implements version subcommand.
func (*VersionCommand) Init ¶
func (v *VersionCommand) Init(c *Cli)
Click to show internal directories.
Click to hide internal directories.