Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct {
LinkId primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"`
Region string `json:"region"`
Linkkey string `json:"linkkey"`
NearIP string `json:"nearip"`
FarIP string `json:"farip"`
FarAS string `json:"faras"`
LastSeen []int64 `json:"lastseen"`
Current bool `json:"current"`
Covered bool `json:"covered"`
}
struct for storing interdomain link
type SpeedMeas ¶
type SpeedMeas struct {
Mon string `json: "mon" bson:"mon"`
SpeedServer primitive.ObjectID `json:"speedserver" bson:"speedserver"`
Link primitive.ObjectID `json:"link" bson:"link"`
Enabled bool `json: "enabled" bson:"enabled"`
Activeperiod []TimePeriod `json:"activeperiod" bson:"activeperiod"`
Assigntype string `json:"assigntype" bson:"assigntype"`
Reason int `json:"reason" bson:"reason"`
}
type SpeedServer ¶
type SpeedServer struct {
SpId primitive.ObjectID `json:"_id,omitempty" bson:"_id,omitempty"`
Type string `json:"type"`
Id string `json:"id"`
Identifier string `json:"identifier"`
Location JSONPoint `json:"location"`
Country string `json:"country"`
Host string `json:"host"`
City string `json:"city"`
IPv4 string `json:"ipv4"`
IPv6 string `json:"ipv6"`
Asnv4 string `json:"asn"`
Enabled bool `json:"enabled"`
LastUpdated time.Time `json:"lastupdated"`
Additional interface{} `json:"additional"`
}
type Traceroute ¶
type VMDataStatus ¶
Click to show internal directories.
Click to hide internal directories.