openapi

package
v3.0.8+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 14 Imported by: 0

Documentation

Index

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 GetProcessBindModule(req *restful.Request, appId int, procId int) ([]interface{}, error)

func GetProcessesByModuleName

func GetProcessesByModuleName(req *restful.Request, moduleName string, objUrl string) ([]interface{}, error)

根据模块获取所有关联的进程,建立Map ModuleToProcesses

Types

type ModuleData

type ModuleData struct {
	Count int                      `json:"count"`
	Info  []map[string]interface{} `json:"info"`
}

type ModuleSResult

type ModuleSResult struct {
	Result  bool        `json:"result"`
	Code    int         `json:"code"`
	Message interface{} `json:"message"`
	Data    ModuleData  `json:"data"`
}

type ProcModuleConfig

type ProcModuleConfig struct {
	ApplicationID int
	ModuleName    string
	// contains filtered or unexported fields
}

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

type ProcessResult struct {
	Result  bool        `json:"result"`
	Code    int         `json:"code"`
	Message interface{} `json:"message"`
	Data    interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL