package
0.6.0
Repository: https://github.com/axiomhq/pkg.git
Documentation: pkg.go.dev

# Functions

NewServer creates a new http server listening on the configured address and handling requests using the configured `http.Handler`.
WithBaseContext sets the `context.Context` that will server as base context for incoming requests.
WithLogger sets the logger used for the underlying `http.Server`.
WithShutdownTimeout sets the timeout of the graceful shutdown.

# Structs

Server implements a http server which handles request using the configured `http.Handler`.

# Type aliases

An Option modifies the behaviour of a `Server`.