Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewErr ¶
NewErr returns a new extension.Extension that implements all extensionmiddleware interface and always returns an error.
func NewNop ¶
NewNop returns a new extension.Extension that implements the all the extensionmiddleware interfaces. For HTTP requests it returns the base RoundTripper and for gRPC requests it returns an empty slice of options.
Types ¶
type RoundTripperFunc ¶
RoundTripperFunc implements an HTTP client middleware function. This is the equivalent of net/http.HandlerFunc for creating a net/http.RoundTripper from a function.
Click to show internal directories.
Click to hide internal directories.