mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
ff0ff9a9ee
* add network api * a minor change * only show service name if unauthorized * update * 除了 load/初始化 避免在 singleton 进行查询等操作 --------- Co-authored-by: naiba <hi@nai.ba>
11 lines
303 B
Go
11 lines
303 B
Go
package model
|
|
|
|
type ServiceInfos struct {
|
|
ServiceID uint64 `json:"monitor_id"`
|
|
ServerID uint64 `json:"server_id"`
|
|
ServiceName string `json:"monitor_name"`
|
|
ServerName string `json:"server_name"`
|
|
CreatedAt []int64 `json:"created_at"`
|
|
AvgDelay []float32 `json:"avg_delay"`
|
|
}
|