Documentation ¶
Index ¶
Constants ¶
View Source
const ( XDeadline = "X-Deadline" XFeatures = "X-Features" XRequestID = "X-Request-Id" XSource = "X-Source" XTimeout = "X-Timeout" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Input ¶
The Input represents a middleware for a http.Handler.
server := http.Server{ Handler: Input1(Input2(http.DefaultServeMux)), }
type Output ¶
type Output = func(http.RoundTripper) http.RoundTripper
The Output represents a middleware for a http.RoundTripper.
client := http.Client{ Transport: Output1(Output2(http.DefaultTransport)), }
Click to show internal directories.
Click to hide internal directories.