Freifunk
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 

19 lines
513 B

package runtime
import "github.com/FreifunkBremen/yanic/jsontime"
type Node struct {
Firstseen jsontime.Time `json:"firstseen"`
Lastseen jsontime.Time `json:"lastseen"`
IsOnline bool `json:"is_online"`
NodeID string `json:"node_id"`
Hostname string `json:"hostname"`
SiteCode string `json:"community"`
Location *Location `json:"location"`
Clients uint32 `json:"clients"`
}
type Location struct {
Lon float64 `json:"long"`
Lat float64 `json:"lat"`
}