interceptor

package
v2.1.41 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StreamAccessLog added in v2.1.6

func StreamAccessLog() grpc.StreamServerInterceptor

func StreamCrash

func StreamCrash(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) (err error)

func UnaryAccessLog added in v2.1.6

func UnaryAccessLog() grpc.UnaryServerInterceptor

func UnaryCrash

func UnaryCrash(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (resp interface{}, err error)

func UnaryTimeout

func UnaryTimeout(timeout time.Duration) grpc.UnaryServerInterceptor

func WithStreamClient

func WithStreamClient(interceptors ...grpc.StreamClientInterceptor) grpc.DialOption

func WithStreamServer

func WithStreamServer(interceptors ...grpc.StreamServerInterceptor) grpc.ServerOption

func WithUnaryClient

func WithUnaryClient(interceptors ...grpc.UnaryClientInterceptor) grpc.DialOption

func WithUnaryServer

func WithUnaryServer(interceptors ...grpc.UnaryServerInterceptor) grpc.ServerOption

Types

This section is empty.

Jump to

Keyboard shortcuts

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