package
1.25.10
Repository: https://github.com/aperturerobotics/util.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

DoRequest performs a request with logging.
DoRequestWithClient performs a request with logging.
DoRequestWithTransport performs a request with logging.
LoggingMiddleware logs incoming requests and response status codes using logrus.
NewLoggedClient wraps an HttpClient with a logger.
NewLoggedRoundTripper creates a new instance of LoggedRoundTripper.
WithLoggerFields builds the log fields for a request.

# Structs

LoggedRoundTripper is a custom RoundTripper that wraps an existing RoundTripper with a logger.
LoggingMiddlewareOpts are opts passed to LoggingMiddleware.

# Interfaces

HttpClient can perform http requests.