mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
change uptime to duration
This commit is contained in:
@@ -87,7 +87,7 @@ type Neighbour struct {
|
|||||||
RoutesFiltered int `json:"routes_filtered"`
|
RoutesFiltered int `json:"routes_filtered"`
|
||||||
RoutesExported int `json:"routes_exported"`
|
RoutesExported int `json:"routes_exported"`
|
||||||
RoutesPreferred int `json:"routes_preferred"`
|
RoutesPreferred int `json:"routes_preferred"`
|
||||||
Uptime int `json:"uptime"`
|
Uptime time.Duration `json:"uptime"`
|
||||||
|
|
||||||
// Original response
|
// Original response
|
||||||
Details map[string]interface{} `json:"details"`
|
Details map[string]interface{} `json:"details"`
|
||||||
|
Reference in New Issue
Block a user