Documentation
¶
Index ¶
- func CheckPid(path string) *os.Process
- func DeletePid(path string) error
- func LockFile(fp *os.File) error
- func UnlockFile(fp *os.File) error
- func WritePid(path string) error
- func WritePpid(path string) error
- type AppCmd
- func (this *AppCmd) Append(appendString string) *AppCmd
- func (this *AppCmd) On(arg string, callback func())
- func (this *AppCmd) Option(code string, description string) *AppCmd
- func (this *AppCmd) Print()
- func (this *AppCmd) Product(product string) *AppCmd
- func (this *AppCmd) Run(main func())
- func (this *AppCmd) Usage(usage string) *AppCmd
- func (this *AppCmd) Version(version string) *AppCmd
- type CommandHelpOption
- type Directive
- type LogWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnlockFile ¶
Types ¶
type CommandHelpOption ¶
Click to show internal directories.
Click to hide internal directories.