Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllRdbHealth ¶
type AllRdbHealth struct { // Deprecated; old information on portal database Dsn string `json:"dsn"` // Deprecated; old information on portal database OpenConnections int `json:"open_connections"` // Deprecated; old information on portal database PingResult int `json:"ping_result"` // Deprecated; old information on portal database PingMessage string `json:"ping_message"` Portal *Rdb `json:"portal"` Graph *Rdb `json:"graph"` }
type HealthView ¶
type HealthView struct { Rdb *AllRdbHealth `json:"rdb"` Http *Http `json:"http"` Nqm *Nqm `json:"nqm"` }
HealthView is the model for responsed JSON data in “/health` example:
{ "rdb":{ "dsn":"DSN....", "open_connections":10, "ping_result":0, "ping_message":"", "<db1_name>": { "dsn":"DSN....", "open_connections":10, "ping_result":0, "ping_message":"", }, "<db2_name>": { "dsn":"DSN....", "open_connections":10, "ping_result":0, "ping_message":"", } }, "http":{ "listening":":6040" }, "nqm":{ "heartbeat":{ "count":21387 } } }
type MysqlApi ¶
type MysqlApi struct { // Address of MySQL-API Address string `json:"address"` // Error messages during the health request Message string `json:"message"` // Response of the health request Response *HealthView `json:"response"` }
Click to show internal directories.
Click to hide internal directories.