Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOverflightsLegacy ¶
Get Overflights for Facility Legacy/Deprecated @Summary Get Overflights for Facility Legacy/Deprecated @Tags overflight @Param fac path string false "Facility, defaults to ZDV if no facility id provided" @Success 200 {object} []Flightsv1 @Failure 500 {object} response.R @Router /live/:facility [GET]
func Routes ¶
func Routes(r *gin.RouterGroup)
Types ¶
type Flightsv1 ¶
type Flightsv1 struct { Callsign string `json:"callsign" example:"N462AW"` CID int `json:"cid" example:"876594"` Facility string `json:"facility" example:"ZDV"` Latitude float32 `json:"lat" example:"-33.867"` Longitude float32 `json:"lon" example:"151.206"` Groundspeed int `json:"spd" example:"150"` Heading int `json:"hdg" example:"180"` Altitude int `json:"alt" example:"10500"` Aircraft string `json:"type" example:"C208"` Departure string `json:"dep" example:"KLMO"` Arrival string `json:"arr" example:"KLMO"` Route string `json:"route" example:"DCT"` UpdatedAt time.Time `json:"lastSeen" example:"2020-01-01T00:00:00Z"` }
Click to show internal directories.
Click to hide internal directories.