Documentation
¶
Overview ¶
Package svc -- web API services.
Index ¶
- func GeoCircle(R *mux.Router)
- func GeoHash(R *mux.Router)
- func GeoMatrix(R *mux.Router)
- func GreatEll(R *mux.Router)
- func HS200j(w http.ResponseWriter, b []byte)
- func HS200t(w http.ResponseWriter, b []byte)
- func HS400(w http.ResponseWriter)
- func HS400t(w http.ResponseWriter, errmsg string)
- func HS500(w http.ResponseWriter)
- func HashGeo(R *mux.Router)
- func KFunction(R *mux.Router)
- func Pop2010(R *mux.Router)
- func RandomNames(R *mux.Router)
- func RandomPoints(R *mux.Router)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HS200j ¶
func HS200j(w http.ResponseWriter, b []byte)
HS200j -- returns 200 status code and writes `b` as JSON.
func HS200t ¶
func HS200t(w http.ResponseWriter, b []byte)
HS200t -- returns 200 status code and writes `b` as text.
func HS400t ¶
func HS400t(w http.ResponseWriter, errmsg string)
HS400t -- returns 400 status code with an error message.
func RandomNames ¶
RandomNames -- configures the service for the router `R`.
func RandomPoints ¶
RandomPoints -- configures the service for the router `R`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.