controllers

package
v0.0.0-...-24a0202 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2015 License: MIT Imports: 12 Imported by: 0

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 (*AgencyController) NearestAgencies

func (ac *AgencyController) NearestAgencies(w http.ResponseWriter, r *http.Request)

type IndexController

type IndexController struct {
	*mux.Router
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL