Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoggingStreamPanicHandler ¶
func LoggingStreamPanicHandler(logger log.FieldLogger) grpc.StreamServerInterceptor
LoggingStreamPanicHandler returns a stream server interceptor which recovers panics, logs them as errors with logger, and returns a gRPC internal error to clients.
func LoggingUnaryPanicHandler ¶
func LoggingUnaryPanicHandler(logger log.FieldLogger) grpc.UnaryServerInterceptor
LoggingUnaryPanicHandler returns a server interceptor which recovers panics, logs them as errors with logger, and returns a gRPC internal error to clients.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.