Documentation ¶
Index ¶
- func GetModuleMapByCond(req *restful.Request, fields string, objUrl string, cond interface{}) (map[int]interface{}, error)
- func GetProcessBindModule(req *restful.Request, appId int, procId int) ([]interface{}, error)
- func GetProcessesByModuleName(req *restful.Request, moduleName string, objUrl string) ([]interface{}, error)
- type ModuleData
- type ModuleSResult
- type ProcModuleConfig
- type ProcModuleResult
- type ProcessCResult
- type ProcessResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetModuleMapByCond ¶
func GetModuleMapByCond(req *restful.Request, fields string, objUrl string, cond interface{}) (map[int]interface{}, error)
get modulemap by cond
func GetProcessBindModule ¶
func GetProcessesByModuleName ¶
func GetProcessesByModuleName(req *restful.Request, moduleName string, objUrl string) ([]interface{}, error)
根据模块获取所有关联的进程,建立Map ModuleToProcesses
Types ¶
type ModuleData ¶
type ModuleSResult ¶
type ModuleSResult struct { Result bool `json:"result"` Code int `json:"code"` Message interface{} `json:"message"` Data ModuleData `json:"data"` }
type ProcModuleConfig ¶
type ProcModuleResult ¶
type ProcModuleResult struct { Result bool `json:"result"` Code int `json:"code"` Message interface{} `json:"message"` Data []ProcModuleConfig `json:"data"` }
type ProcessCResult ¶
type ProcessCResult struct { Result bool `json:"result"` Code int `json:"code"` Message interface{} `json:"message"` Data map[string]int `json:"data"` }
get process bind module
type ProcessResult ¶
Click to show internal directories.
Click to hide internal directories.