Documentation ¶
Overview ¶
Package api provides the HTTP api.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cfg *config.Config
View Source
var Version string
Functions ¶
func HandleConfig ¶ added in v1.1.3
func HandleConfig(w http.ResponseWriter, r *http.Request)
func HandleManual ¶
func HandleManual(w http.ResponseWriter, r *http.Request)
HandleManual provides a fetch and update handler for the manual overrides api.
func HandleRoutes ¶
func HandleRoutes(w http.ResponseWriter, r *http.Request)
HandleRoutes provides a fetch handler for the current routing table.
func HandleVersion ¶ added in v1.1.3
func HandleVersion(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.