requestLogger

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRequestLogger

type IRequestLogger interface {
	Handler(h http.Handler) http.Handler
}

func NewMiddleware

func NewMiddleware(params RequestLoggerParams) IRequestLogger

type RequestLogger

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

func (*RequestLogger) Handler

func (c *RequestLogger) Handler(h http.Handler) http.Handler

type RequestLoggerParams

type RequestLoggerParams struct {
	fx.In

	Logger zerolog.Logger
}

Jump to

Keyboard shortcuts

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