Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TrackerHandler ¶
TrackerHandler represents an HTTP hander for flight tracking operations.
func NewTrackerHandler ¶
func NewTrackerHandler(tracker *flights.Tracker) *TrackerHandler
NewTrackerHandler initializes a new instance of TrackerHandler.
func (*TrackerHandler) TracePath ¶
func (h *TrackerHandler) TracePath() http.HandlerFunc
TracePath godoc @Summary Trace start and end airport given a list of flight routes. @Description Trace start and end airport given a list of flight routes. @Tags flights @Accept json @Produce json @Param request body handlers.TracePath.request true "Flight Routes" @Router /calculate [post]
Click to show internal directories.
Click to hide internal directories.