Documentation
¶
Overview ¶
Package http includes handlers and utilties.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONVersionHandler ¶
func JSONVersionHandler(version string) http.HandlerFunc
JSONVersionHandler returns a simple JSON response from a version string. The returned JSON is in the form of `{"version":"v0.0.1"}`.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.