Documentation ¶
Index ¶
- func GetCoordinates(address string) (float64, float64)
- type LocationController
- func (lc LocationController) AddLocation(w http.ResponseWriter, r *http.Request)
- func (lc LocationController) DeleteLocation(w http.ResponseWriter, r *http.Request)
- func (lc LocationController) GetLocation(w http.ResponseWriter, r *http.Request)
- func (lc LocationController) UpdateLocation(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCoordinates ¶
Types ¶
type LocationController ¶
type LocationController struct {
// contains filtered or unexported fields
}
func NewLocationController ¶
func NewLocationController(s *mgo.Session) *LocationController
func (LocationController) AddLocation ¶
func (lc LocationController) AddLocation(w http.ResponseWriter, r *http.Request)
func (LocationController) DeleteLocation ¶
func (lc LocationController) DeleteLocation(w http.ResponseWriter, r *http.Request)
func (LocationController) GetLocation ¶
func (lc LocationController) GetLocation(w http.ResponseWriter, r *http.Request)
func (LocationController) UpdateLocation ¶
func (lc LocationController) UpdateLocation(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.