# Functions
File serves up a file, optionally transforming it with a TransformFunc.
FormatMarkdown takes a markdown file and applies the js template to auto-render it.
Health sets up the default health router.
Log sets up default http logging.
LogHandler sets up a log circular buffer and serves this on the given router.
Metrics installs the prometheus handler for the metrics endpoint.
Profiling installs the go default profiling endpoints.
Redirect takes one path and redirects it to another.
RequestLoggerMiddleware takes care of logging all requests.
# Variables
ErrNotConnected returned when actions called but consul client not connected.
# Structs
ConsulOptions is the command line options for consul registration.
No description provided by the author
LogBuffer buffers the last number of log lines for the log output handler.
# Type aliases
FormatFunc functions are used to apply transformations to file data, such as applying templates.