interceptors

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClientIDHeaderName = "X-Client-ID"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcessingIdentityInterceptor

type ProcessingIdentityInterceptor struct {
	ID string
	// contains filtered or unexported fields
}

func NewProcessingIdentity

func NewProcessingIdentity(
	processingID, version string,
) *ProcessingIdentityInterceptor

func (*ProcessingIdentityInterceptor) WrapStreamingClient

WrapStreamingClient wraps the streaming server function

func (*ProcessingIdentityInterceptor) WrapStreamingHandler

WrapStreamingHandler wraps the streaming server function

func (*ProcessingIdentityInterceptor) WrapUnary

WrapUnary wraps the unary function

type SignInterceptor

type SignInterceptor struct {
	// contains filtered or unexported fields
}

func NewSignInterceptor

func NewSignInterceptor(
	clientService *clients.Service,
	disableCheckingSign bool,
) *SignInterceptor

func (*SignInterceptor) WrapStreamingClient

WrapStreamingServer wraps the streaming server function

func (*SignInterceptor) WrapStreamingHandler

WrapStreamingServer wraps the streaming server function

func (*SignInterceptor) WrapUnary

func (i *SignInterceptor) WrapUnary(next connect.UnaryFunc) connect.UnaryFunc

WrapUnary wraps the unary function

Jump to

Keyboard shortcuts

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