Documentation
¶
Overview ¶
Package daemon is the daemon implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
PIDFile string
// contains filtered or unexported fields
}
Config is the daemon config
func (*Config) CheckPIDFile ¶
CheckPIDFile check if the pid file exists if the PID file exists, return the PID of the process if the PID file does not exist, return -1
func (*Config) RemovePIDFile ¶
RemovePIDFile remove the pid file
Click to show internal directories.
Click to hide internal directories.