svc

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: MIT Imports: 22 Imported by: 1

README

svc

Web API services.

Live API

Documentation

Overview

Package svc -- web API services.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeoCircle

func GeoCircle(R *mux.Router)

GeoCircle -- configures the service for the router `R`.

func GeoHash

func GeoHash(R *mux.Router)

GeoHash -- configures the service for the router `R`.

func GeoMatrix

func GeoMatrix(R *mux.Router)

GeoMatrix -- configures the service for the router `R`.

func GreatEll

func GreatEll(R *mux.Router)

GreatEll -- configures the service for the router `R`.

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 HS400

func HS400(w http.ResponseWriter)

HS400 -- returns 400 status code.

func HS400t

func HS400t(w http.ResponseWriter, errmsg string)

HS400t -- returns 400 status code with an error message.

func HS500

func HS500(w http.ResponseWriter)

HS500 -- returns 500 status code.

func HashGeo

func HashGeo(R *mux.Router)

HashGeo -- configures the service for the router `R`.

func KFunction

func KFunction(R *mux.Router)

KFunction -- configures the service for the router `R`.

func Pop2010

func Pop2010(R *mux.Router)

Pop2010 -- configures the service for the router `R`.

func RandomNames

func RandomNames(R *mux.Router)

RandomNames -- configures the service for the router `R`.

func RandomPoints

func RandomPoints(R *mux.Router)

RandomPoints -- configures the service for the router `R`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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