Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = Configuration{}
Functions ¶
func RegisteCmd ¶
func RegisteCmd(cmdName string, executer cmdExecuter)
Types ¶
type CmdArgParser ¶
type CmdArgParser struct {
// contains filtered or unexported fields
}
func NewCmdArgParser ¶
func NewCmdArgParser(args []string) *CmdArgParser
func (*CmdArgParser) ExtraInt64Arg ¶
func (this *CmdArgParser) ExtraInt64Arg(arg *CmdArg, val *int64)
func (*CmdArgParser) ExtraIntArg ¶
func (this *CmdArgParser) ExtraIntArg(arg *CmdArg, val *int)
func (*CmdArgParser) ExtraStringArg ¶
func (this *CmdArgParser) ExtraStringArg(arg *CmdArg, val *string)
type Configuration ¶
type Configuration struct {
SupportCmdLine bool
}
func (*Configuration) Close ¶
func (c *Configuration) Close() error
func (*Configuration) Init ¶
func (c *Configuration) Init() error
func (*Configuration) Name ¶
func (c *Configuration) Name() string
Click to show internal directories.
Click to hide internal directories.