Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfigHandler ¶
func NewConfigHandler(config interface{}) func(http.ResponseWriter, *http.Request)
NewConfigHandler returns an HTTP handler that serves a page with the specified TOML config.
func NewInfoHandler ¶
func NewInfoHandler() func(http.ResponseWriter, *http.Request)
NewInfoHandler returns an HTTP handler that serves a page with basic info about the process.
Types ¶
type StatusPages ¶
type StatusPages map[string]http.HandlerFunc
StatusPages maps from a page name to the HTTP handler serving that page.
Click to show internal directories.
Click to hide internal directories.