Documentation
¶
Index ¶
- func CloseHTTPClient(client *http.Client)
- func Executable() string
- type CommandHelp
- func (this *CommandHelp) Append(appendString string) *CommandHelp
- func (this *CommandHelp) Option(code string, description string) *CommandHelp
- func (this *CommandHelp) Print()
- func (this *CommandHelp) Product(product string) *CommandHelp
- func (this *CommandHelp) Usage(usage string) *CommandHelp
- func (this *CommandHelp) Version(version string) *CommandHelp
- type CommandHelpOption
- type FileBuffer
- type ServiceManager
- func (this *ServiceManager) Close() error
- func (this *ServiceManager) Install(exePath string, args []string) error
- func (this *ServiceManager) Log(msg string)
- func (this *ServiceManager) LogError(msg string)
- func (this *ServiceManager) PauseWindow()
- func (this *ServiceManager) Run()
- func (this *ServiceManager) Start() error
- func (this *ServiceManager) Uninstall() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandHelp ¶
type CommandHelp struct {
// contains filtered or unexported fields
}
命令帮助
func NewCommandHelp ¶
func NewCommandHelp() *CommandHelp
func (*CommandHelp) Option ¶
func (this *CommandHelp) Option(code string, description string) *CommandHelp
选项
type CommandHelpOption ¶
type FileBuffer ¶
type FileBuffer struct { MaxLines int // contains filtered or unexported fields }
文件缓冲
type ServiceManager ¶
type ServiceManager struct { Name string Description string // contains filtered or unexported fields }
服务管理器
Click to show internal directories.
Click to hide internal directories.