connect

package
v1.69.9 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LanguageInterceptor

type LanguageInterceptor struct {
}

LanguageInterceptor implements connect.Interceptor for ensuring language is available in the context.

func NewLanguageInterceptor

func NewLanguageInterceptor() (*LanguageInterceptor, error)

NewLanguageInterceptor creates a new validation interceptor with default options.

func (*LanguageInterceptor) WrapStreamingClient

WrapStreamingClient validates streaming client messages (pass-through for server-side).

func (*LanguageInterceptor) WrapStreamingHandler

WrapStreamingHandler validates streaming messages.

func (*LanguageInterceptor) WrapUnary

WrapUnary validates unary requests and responses.

Jump to

Keyboard shortcuts

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