httpServerMiddleware

package
v0.0.0-...-80164ef Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogRequestMiddleware

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

func NewLogRequestMiddleware

func NewLogRequestMiddleware(logger log.Logger, excludedURL []string) *LogRequestMiddleware

func (*LogRequestMiddleware) Process

func (m *LogRequestMiddleware) Process(next http.Handler) http.Handler

type RequestIDDetectorMiddleware

type RequestIDDetectorMiddleware struct{}

func NewRequestIDDetector

func NewRequestIDDetector() *RequestIDDetectorMiddleware

func (*RequestIDDetectorMiddleware) Process

Jump to

Keyboard shortcuts

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