interceptors

package
v0.0.0-...-8815ff5 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoggingInterceptor

func LoggingInterceptor() connect.UnaryInterceptorFunc

LoggingInterceptor logs all RPC calls with method name and duration.

func ValidationInterceptor

func ValidationInterceptor() connect.UnaryInterceptorFunc

ValidationInterceptor returns a Connect interceptor that validates all incoming requests using proto-validate rules defined in proto files. Invalid requests are rejected with CodeInvalidArgument and detailed error messages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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