Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingRoundTripper ¶
type LoggingRoundTripper struct { Base http.RoundTripper Log *slog.Logger }
LoggingRoundTripper is an http.RoundTripper that logs requests and responses
func NewLoggingRoundTripper ¶
func NewLoggingRoundTripper(logger *slog.Logger, base http.RoundTripper) *LoggingRoundTripper
NewLoggingRoundTripper creates a new LoggingRoundTripper with the given logger
Click to show internal directories.
Click to hide internal directories.