httplogger

package
v5.13.1 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Middleware

func Middleware() func(http.Handler) http.Handler

Types

type SanitizedString added in v5.13.1

type SanitizedString string

SanitizedString wraps a string that has been sanitized to prevent log injection. It implements slog.LogValuer to ensure gosec recognizes it as safe for logging.

func (SanitizedString) LogValue added in v5.13.1

func (s SanitizedString) LogValue() slog.Value

Jump to

Keyboard shortcuts

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