Documentation ¶
Index ¶
- func FormatAddress(addr string) string
- func IP2Long(ip string) uint64
- func IsIPv4(ip string) bool
- func IsIPv6(ip string) bool
- func LookupCNAME(host string) (string, error)
- func PrintError(err error)
- func Recover()
- func SplitNumbers(numbers string) (result []int64)
- 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) Start() error
- func (this *ServiceManager) Uninstall() error
- type Ticker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintError ¶
func PrintError(err error)
Types ¶
type ServiceManager ¶
type ServiceManager struct { Name string Description string // contains filtered or unexported fields }
服务管理器
Source Files ¶
Click to show internal directories.
Click to hide internal directories.