interceptors

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewContextServerStream

func NewContextServerStream(ctx context.Context, ss grpc.ServerStream) grpc.ServerStream

Types

type ClientInterceptors

type ClientInterceptors interface {
	UnaryClientInterceptor() grpc.UnaryClientInterceptor
	StreamClientInterceptor() grpc.StreamClientInterceptor
}

type ContextWrapper

type ContextWrapper struct {
	grpc.ServerStream
	// contains filtered or unexported fields
}

func (*ContextWrapper) Context

func (w *ContextWrapper) Context() context.Context

type Interceptors

type Interceptors interface {
	ServerInterceptors
	ClientInterceptors
}

type ServerInterceptors

type ServerInterceptors interface {
	UnaryServerInterceptor() grpc.UnaryServerInterceptor
	StreamServerInterceptor() grpc.StreamServerInterceptor
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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