package
0.0.0-20201022224356-b09f34314768
Repository: https://github.com/travmatth-org/qaas.git
Documentation: pkg.go.dev

# Functions

Log documents incoming requests before passing to child handler.
New constructs and returns a Handler struct with the specified opts.
Recover catches panics in downstream handlers, sends err to alert client.
Route composes endpoints by wrapping destination handler with handler pipeline providing tracing with aws x-ray, injecting logging middleware with request details into the context, and error recovery middleware, and gzipping the response.
Static prepares and returns a http.Handler serving a single file.
WithAPI sets an API for the handler struct.
WithFS inserts the given file system client into the server.

# Structs

Handler manages the endpoints of the Server.

# Type aliases

Opt are the configuratio nfunctions used set options on the hander struct.