Documentation ¶
Index ¶
- func AutoRender(w http.ResponseWriter, data interface{}, err error)
- func InitDatabase() error
- func RenderDataJson(w http.ResponseWriter, data interface{})
- func RenderJson(w http.ResponseWriter, v interface{})
- func RenderMsgJson(w http.ResponseWriter, msg string)
- func Start()
- func StdRender(w http.ResponseWriter, data interface{}, err error)
- func SyncHostsAndContactsTable()
- type City
- type Contacts
- type Dto
- type GraphHistoryParam
- type Grp
- type Grp_host
- type Grp_tpl
- type Host
- type Hosts
- type IDCMapItem
- type Idc
- type Idcs
- type Ips
- type Nqm_node
- type Platforms
- type Plugin_dir
- type Province
- type Remark
- type Tag
- type Tpl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoRender ¶
func AutoRender(w http.ResponseWriter, data interface{}, err error)
func InitDatabase ¶
func InitDatabase() error
func RenderDataJson ¶
func RenderDataJson(w http.ResponseWriter, data interface{})
func RenderJson ¶
func RenderJson(w http.ResponseWriter, v interface{})
func RenderMsgJson ¶
func RenderMsgJson(w http.ResponseWriter, msg string)
func StdRender ¶
func StdRender(w http.ResponseWriter, data interface{}, err error)
func SyncHostsAndContactsTable ¶
func SyncHostsAndContactsTable()
Types ¶
type GraphHistoryParam ¶
Click to show internal directories.
Click to hide internal directories.