Documentation
¶
Index ¶
- Variables
- func CreateCheckUpdateCmd() *cobra.Command
- func CreateDaemonCmd() *cobra.Command
- func CreateLogCmd() *cobra.Command
- func CreateRestartCmd() *cobra.Command
- func CreateRootCmd() *cobra.Command
- func CreateStartCmd() *cobra.Command
- func CreateStatusCmd() *cobra.Command
- func CreateStopCmd() *cobra.Command
- func CreateUpdateCmd() *cobra.Command
- func CreateVersionCmd() *cobra.Command
- func GetLogFile() string
- func GetPID() string
- func GetPIDFile() string
- func IsRunning() bool
- func StopDaemon() error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ConfigFile string
)
Functions ¶
func CreateCheckUpdateCmd ¶
CreateCheckUpdateCmd 创建检查更新命令
func CreateVersionCmd ¶ added in v0.4.1
CreateVersionCmd 创建版本命令
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.