Categorygithub.com/searKing/golang/third_party/google.golang.org/grpc
modulepackage
1.2.120
Repository: https://github.com/searking/golang.git
Documentation: pkg.go.dev

# Packages

Package grpclog defines slog-based logging for grpc.
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

GrpcOrDefaultHandler returns a http.Handler that delegates to grpcServer on incoming gRPC connections or defaultHandler otherwise.
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

UnaryHandlerDecorator is an interface representing the ability to decorate or wrap a grpc.UnaryHandler.

# Type aliases

The UnaryHandlerDecoratorFunc type is an adapter to allow the use of ordinary functions as gRPC handler decorators.
UnaryHandlerDecorators defines a UnaryHandlerDecorator slice.
UnaryHandlerGeneric is a generic version of [grpc.UnaryHandler] as gRPC-Gateway does not support gRPC interceptors when call gRPC's service handler in process.
UnaryServerInterceptorGeneric is a generic version of [grpc.UnaryServerInterceptor] as gRPC-Gateway does not support gRPC interceptors when call gRPC's service handler in process.