logger

package
v0.0.0-...-d6337b2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestAndResponseLoggerMiddleware

func RequestAndResponseLoggerMiddleware(next http.Handler) http.Handler

Types

type LogContext

type LogContext struct {
	// contains filtered or unexported fields
}

type LoggingResponseWriter

type LoggingResponseWriter struct {
	http.ResponseWriter
	LogContext *LogContext
}

func (*LoggingResponseWriter) Write

func (lrw *LoggingResponseWriter) Write(b []byte) (int, error)

func (*LoggingResponseWriter) WriteHeader

func (lrw *LoggingResponseWriter) WriteHeader(statusCode int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL