package
0.37.2
Repository: https://github.com/thanos-io/thanos.git
Documentation: pkg.go.dev

# Packages

# Functions

New creates a new Server.
WithGracePeriod sets shutdown grace period for HTTP server.
WithListen sets address to listen for HTTP server.
WithMux overrides the server's default mux.
WrapResponseWriterWithStatus wraps the http.ResponseWriter for extracting status.

# Structs

ResponseWriterWithStatus wraps around http.ResponseWriter to capture the status code of the response.
A Server defines parameters for serve HTTP requests, a wrapper around http.Server.

# Interfaces

Option overrides behavior of Server.