middleware

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package middleware provides HTTP and gRPC middleware for the server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugInterceptor

func DebugInterceptor(log *logger.Logger) grpc.UnaryServerInterceptor

DebugInterceptor logs each unary RPC and recovers downstream interceptor and handler panics.

func ForwardPluginHeaders

func ForwardPluginHeaders(req *http.Request) *http.Request

ForwardPluginHeaders copies request headers into outgoing gRPC metadata.

func MessageHandler

func MessageHandler(next http.Handler) http.Handler

MessageHandler normalizes gRPC gateway responses that contain Funnel messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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