Versions in this module Expand all Collapse all v0 v0.2.0 Dec 1, 2020 Changes in this version + func CloseHTTPClient(client *http.Client) + func Executable() string + type CommandHelp struct + func NewCommandHelp() *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 struct + Code string + Description string + type FileBuffer struct + MaxLines int + func NewFileBuffer(path string) *FileBuffer + func (this *FileBuffer) Close() + func (this *FileBuffer) Debug() + func (this *FileBuffer) Next() bool + func (this *FileBuffer) Read(f func(data []byte)) + func (this *FileBuffer) Write(data []byte) error + type ServiceManager struct + Description string + Name string + func NewServiceManager(name, description string) *ServiceManager + func (this *ServiceManager) Close() error + func (this *ServiceManager) Execute(args []string, r <-chan svc.ChangeRequest, changes chan<- svc.Status) (ssec bool, errno uint32) + 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