Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlightHandler ¶
type TrackLog ¶
type TrackLog struct { Time time.Time Heading int HeadingValid bool VS int VSValid bool PositionValid bool Latitude float64 Longitude float64 AltitudeValid bool Altitude int AltitudeType int SpeedValid bool Speed int SpeedType decoder.SpeedType SquawkValid bool Squawk string IdentityValid bool Callsign string Category decoder.AircraftType }
type Tracker ¶
type Tracker struct { ForceReporting bool // contains filtered or unexported fields }
func New ¶
func New(handler FlightHandler, forceReporting bool) *Tracker
func NewWithState ¶
func NewWithState(handler FlightHandler, forceReporting bool, trackerstate []byte) (*Tracker, error)
func (*Tracker) CloseAllFlights ¶
func (t *Tracker) CloseAllFlights()
Click to show internal directories.
Click to hide internal directories.