package
0.1.0
Repository: https://github.com/samkreter/go-core.git
Documentation: pkg.go.dev

# Functions

CorrelationMiddleware adds correlation Middleware to the handler.
IncomingRequestLoggingMiddleware add incoming request logging to the handler TODO(sakreter): add support for operationName and apiVersion.
NewHTTPClient creates a new http client with tracing and logging enabled.
SetUpHandler adds logging, tracing and correlation for incoming requests.
StartLogOutgoingRequest logs the outgoing requests.
TracingMiddleware adds tracing Middleware to the handler.

# Structs

CorrelationTransport implements http.RoundTripper.
HandlerConfig holds configuration for which middle to enable.
LogTransport implements http.RoundTripper.