Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetExportMetric ¶
func GetExportMetric() []byte
func StartCronTask ¶
func StartCronTask()
func StartHttpServer ¶
func StartHttpServer(port int)
Types ¶
type DbMonitorResultObj ¶
type DbMonitorTaskObj ¶
type DbMonitorTaskObj struct {
DbType string `json:"db_type"`
Endpoint string `json:"endpoint"`
Name string `json:"name"`
Server string `json:"server"`
Port string `json:"port"`
User string `json:"user"`
Password string `json:"password"`
Sql string `json:"sql"`
Session *xorm.Engine `json:"session"`
}
Click to show internal directories.
Click to hide internal directories.