middleware

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package middleware provides HTTP middleware components for the mailing list service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizationMiddleware

func AuthorizationMiddleware() func(http.Handler) http.Handler

AuthorizationMiddleware creates a middleware that adds a request ID to the context

func GrpsIOWebhookBodyCaptureMiddleware

func GrpsIOWebhookBodyCaptureMiddleware() func(http.Handler) http.Handler

GrpsIOWebhookBodyCaptureMiddleware captures the raw request body before GOA parsing Required for signature validation which needs the exact raw bytes

func RequestIDMiddleware

func RequestIDMiddleware() func(http.Handler) http.Handler

RequestIDMiddleware creates a middleware that adds a request ID to the context

Types

This section is empty.

Jump to

Keyboard shortcuts

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