middleware

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const RequestIDKey contextKey = "request_id"

Variables

This section is empty.

Functions

func Auth

func Auth(apiKey string) func(http.Handler) http.Handler

func GetRequestID

func GetRequestID(ctx context.Context) string

func Logging

func Logging(logger zerolog.Logger) func(http.Handler) http.Handler

func RequestID

func RequestID(next http.Handler) http.Handler

Types

This section is empty.

Jump to

Keyboard shortcuts

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