Documentation ¶
Index ¶
- Constants
- func CheckPrerequisites(flag int, confFilePath string, requiredCommands []string)
- func CreatePidFile() *fslock.Lock
- func Execute(sudo bool, check bool, command []string) (int, string, string)
- func GetConf[C any](configFile string) *C
- func GetPid(progName string) int
- func IpcGetData[T any](progName string, funcName string, args any) (T, error)
- func IpcGetStatus(progName string) (int, error)
- func Signal() chan os.Signal
- func StartIpc(progName string, rcvrs ...any) error
- func Stop(progName string)
- func StopIpc(progName string) error
- type Nothing
- type Pid
Constants ¶
View Source
const ( O_ANY = 0 O_LINUX = 1 USER_RUN_DIR = "/run/user" GLOBAL_RUN_DIR = "/var/run" )
Variables ¶
This section is empty.
Functions ¶
func CheckPrerequisites ¶
func CreatePidFile ¶
func IpcGetStatus ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.