interceptor

package module
v0.0.0-...-a179b07 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 15 Imported by: 5

README

interceptor

The repository provides a convenient mechanism for filtering RPC requests.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRequestURL

func GetRequestURL(r connect.AnyRequest) *url.URL

GetRequestURL returns the request URL

func WithAuthorization

func WithAuthorization(audience string, options ...option.ClientOption) connect.Option

WithAuthorization enables an oidc authorization.

func WithContext

func WithContext() connect.Option

WithContext set up the context

func WithLogger

func WithLogger() connect.Option

WithLogger set up the logger.

func WithRecovery

func WithRecovery() connect.HandlerOption

WithRecovery recovers the handler from any panic.

func WithTracer

func WithTracer() connect.Option

WithTracer set up the Open Telemetry Tracer.

func WithValidator

func WithValidator() connect.Option

WithValidator set up the request validator

Types

This section is empty.

Jump to

Keyboard shortcuts

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