package
0.0.4
Repository: https://github.com/botchris/go-auditrail.git
Documentation: pkg.go.dev

# Functions

AddToContext adds the HTTP details to a context.
Decorator returns a new audit.Logger that appends http details to the log entry before logging it.
EchoMiddleware is an Echo middleware that injects into request's context a [httpd.Details] object holding request details.
FromContext extracts the HTTP details from a context.
GinMiddleware is a Gin middleware that injects into request's context a [httpd.Details] object holding request details.
GRPCStreamInterceptor is a gRPC stream server interceptor that injects [httpd.Details] into the context.
GRPCUnaryInterceptor is a gRPC unary call interceptor that injects [httpd.Details] into the context.

# Structs

Details represents the details of an HTTP request.
URL HTTP request url details.