mirror of
https://github.com/MeshCore-Beacon/beacon-server.git
synced 2026-09-01 16:48:19 +00:00
13 lines
489 B
Go
13 lines
489 B
Go
package api
|
|
|
|
// IATA represents a known airport/location code used to group observers and packets.
|
|
// IATAs are auto-created on first packet arrival from that location.
|
|
// DisplayName, Lat and Lng are optional — they are set via config file override
|
|
// or remain nil if the IATA was auto-created from packet traffic.
|
|
type IATA struct {
|
|
IATA string `json:"iata"`
|
|
DisplayName *string `json:"displayName"`
|
|
Lat *float64 `json:"lat"`
|
|
Lng *float64 `json:"lon"`
|
|
}
|