interceptors

package
v0.4.21 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthnUnaryInterceptor added in v0.3.71

func AuthnUnaryInterceptor(next connect.UnaryFunc) connect.UnaryFunc

...

func ScenarioUnaryInterceptor

func ScenarioUnaryInterceptor(next connect.UnaryFunc) connect.UnaryFunc

...

func ValidateUnaryInterceptor

func ValidateUnaryInterceptor(next connect.UnaryFunc) connect.UnaryFunc

ValidateUnaryInterceptor validates that responses are valid according to Protobuf annotations. Invalid responses result in an Internal error code with the validation failures as a message. Requests are not validated to prevent obscuring the validation implemented by the server.

Server validation does not currently include response validation. See connectrpc/validate-go#28 for details.

Types

This section is empty.

Jump to

Keyboard shortcuts

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