Versions in this module Expand all Collapse all v0 v0.0.4 Dec 16, 2020 Changes in this version + type History struct + func NewHistory(maxHistory int) *History + func (h *History) GetHistoryCount(project string) (int, error) + func (h *History) GetHistoryFile(project string, n int64) ([]byte, error) + func (h *History) SaveAircraftFile(project string, data []byte) error + type Map struct + func NewTar1090Map(ma tracker.MapAccess, maxHistory int) *Map + func (t *Map) AircraftJSONHandler(w http.ResponseWriter, r *http.Request) + func (t *Map) HistoryJSONHandler(w http.ResponseWriter, r *http.Request) + func (t *Map) MapService() string + func (t *Map) ReceiverJSONHandler(w http.ResponseWriter, r *http.Request) + func (t *Map) RegisterRoutes(r *mux.Router) error + func (t *Map) UpdateHistory(projNames []string) error + type ProjectHistory struct + func (ph *ProjectHistory) AddNextFile(maxHistory int, data []byte) error