# README
http-admin
Utility admin server for Go
# Packages
Package main implements a simple binary that.
# Functions
Asset loads and returns the asset for the given name.
AssetDigest returns the digest of the file with the given name.
AssetDir returns the file names below a certain directory embedded in the file by go-bindata.
AssetInfo loads and returns the asset info for the given name.
AssetNames returns the names of the assets.
AssetString returns the asset contents as a string (instead of a []byte).
Digests returns a map of all known files and their checksums.
LoggingHandler returns the current state of all loggers that we know about.
MetricQueryHandler either renders the list of all metrics and a graph, or returns the queried metrics' current values.
MustAsset is like Asset but panics when Asset would return an error.
MustAssetString is like AssetString but panics when Asset would return an error.
PingHandler serves a very simple response that can be used as a health check.
RedirectHandler avoids the default behaviour of writing random html into the response.
ResourceHandler returns the asset, relative to the given paths.
RestoreAsset restores an asset under the given directory.
RestoreAssets restores an asset under the given directory recursively.
Serve starts the HTTPServer.
ServeOnce starts the HTTPServer, but only once.
SummaryHandler renders the front-page content.
UpdateLoggingHandler associates a new log level with a given module.
# Variables
Well known paths.
Well known paths.
DefaultAdminHTTPServer is the global admin http server.
Well known paths.
Gatherer is the thing we gather metrics from.
Top level groups for the Sidebar nav.
Top level groups for the Sidebar nav.
Top level groups for the Sidebar nav.
Well known paths.
Well known paths.
Top level groups for the Sidebar nav.
# Structs
HTTPServer is a holder for the router and server involved in serving the admin UI.
Opts is all flags associated with the admin HTTP server.
Route represents a path and a handler, making it possible to display a menu of routes in the UI.
# Interfaces
A Logger is the interface we log to.
LoggerInfo is the interface we need from something that can describe & update log levels.