mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-04 04:30:05 +00:00
add "network page" api (#460)
* add network api * a minor change * only show service name if unauthorized * update * 除了 load/初始化 避免在 singleton 进行查询等操作 --------- Co-authored-by: naiba <hi@nai.ba>
This commit is contained in:
10
model/service_history_api.go
Normal file
10
model/service_history_api.go
Normal file
@@ -0,0 +1,10 @@
|
||||
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"`
|
||||
}
|
||||
Reference in New Issue
Block a user