Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgencyController ¶
type AgencyController struct {
// contains filtered or unexported fields
}
func NewAgencyController ¶
func NewAgencyController(as *services.AgencyService, ss *services.StopService, r *mux.Router) *AgencyController
func (*AgencyController) NearestAgencies ¶
func (ac *AgencyController) NearestAgencies(w http.ResponseWriter, r *http.Request)
type IndexController ¶
func NewIndexController ¶
func NewIndexController(r *mux.Router) *IndexController
type StopController ¶
type StopController struct {
// contains filtered or unexported fields
}
func NewStopController ¶
func NewStopController(ss *services.StopService, r *mux.Router) *StopController
func (*StopController) NearestStops ¶
func (sc *StopController) NearestStops(w http.ResponseWriter, r *http.Request)
func (*StopController) StopById ¶
func (sc *StopController) StopById(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.