Versions in this module Expand all Collapse all v1 v1.0.6 Jul 16, 2020 v1.0.5 Jun 16, 2020 v1.0.4 Jun 5, 2020 v1.0.3 Jun 1, 2020 v1.0.2 May 27, 2020 v1.0.1 May 22, 2020 v1.0.0 May 19, 2020 Changes in this version + func CreateProcess(p *Process, context interface{}) error + func DeleteProcess(id int, context interface{}) error + func DeleteStatus(processId int, statusType string, context interface{}) error + func SetProcessEnable(id int, enable bool, context interface{}) error + func UpdateProcess(id int, p *Process, context interface{}) error + func UpdateStatus(status *Status, context interface{}) error + type Process struct + Config string + ConfigFile string + Dir string + Enable bool + Id int + Name string + Path string + Pid int + StartTime string + func GetProcess(id int) (*Process, error) + func GetProcessList() ([]*Process, error) + type Status struct + ProcessId int + Type string + Value string + func GetStatus(processId int, statusType string) (*Status, error) + func GetStatusByProcessId(processId int) ([]*Status, error) + func GetStatusByType(statusType string) ([]*Status, error) + func GetStatusList() ([]*Status, error)