Documentation ¶
Index ¶
- type Dump1090Map
- func (d *Dump1090Map) AircraftJSONHandler(w http.ResponseWriter, r *http.Request)
- func (d *Dump1090Map) MapService() string
- func (d *Dump1090Map) ReceiverJSONHandler(w http.ResponseWriter, r *http.Request)
- func (d *Dump1090Map) RegisterRoutes(r *mux.Router) error
- func (d *Dump1090Map) UpdateHistory(projNames []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dump1090Map ¶
type Dump1090Map struct {
// contains filtered or unexported fields
}
Dump1090Map - Implements tracker.MapService.
func NewDump1090Map ¶
func NewDump1090Map(ma tracker.MapAccess) *Dump1090Map
NewDump1090Map returns a new Dump1090Map.
func (*Dump1090Map) AircraftJSONHandler ¶
func (d *Dump1090Map) AircraftJSONHandler(w http.ResponseWriter, r *http.Request)
AircraftJSONHandler implements the HTTP handler for aircraft.json
func (*Dump1090Map) MapService ¶
func (d *Dump1090Map) MapService() string
MapService returns the name of this map service. See MapService.MapService.
func (*Dump1090Map) ReceiverJSONHandler ¶
func (d *Dump1090Map) ReceiverJSONHandler(w http.ResponseWriter, r *http.Request)
ReceiverJSONHandler implements the HTTP handler for receiver.json
func (*Dump1090Map) RegisterRoutes ¶
func (d *Dump1090Map) RegisterRoutes(r *mux.Router) error
RegisterRoutes registers the routes for dump1090 on r.
func (*Dump1090Map) UpdateHistory ¶
func (d *Dump1090Map) UpdateHistory(projNames []string) error
UpdateHistory generates a new history file the provided projNames. See MapService.UpdateHistory.
Click to show internal directories.
Click to hide internal directories.