Documentation ¶
Overview ¶
Package serverinterceptor provides ...
Package serverinterceptor provides ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var StreamTraceInterceptor = otelgrpc.StreamServerInterceptor
StreamTraceInterceptor alias otelgrpc.StreamServerInterceptor
View Source
var UnaryTraceInterceptor = otelgrpc.UnaryServerInterceptor
UnaryTraceInterceptor alias otelgrpc.UnaryServerInterceptor
Functions ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor(opts ...Option) grpc.StreamServerInterceptor
StreamServerInterceptor returns a new streaming server interceptor for panic recovery.
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(opts ...Option) grpc.UnaryServerInterceptor
UnaryServerInterceptor returns a new unary server interceptor for panic recovery.
Types ¶
type HandlerFunc ¶
HandlerFunc recover handler func
Click to show internal directories.
Click to hide internal directories.