Documentation ¶
Overview ¶
This package implements a middleware that will recover from panics, it also logs when some error occurr
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamInterceptor ¶
func StreamInterceptor(log grpclog.LoggerV2) grpc.StreamServerInterceptor
StreamInterceptor implements a gRPC middleware that allows the server to recover from a gRPC panic
func UnaryInterceptor ¶
func UnaryInterceptor(log grpclog.LoggerV2) grpc.UnaryServerInterceptor
UnaryInterceptor implements a gRPC middleware that allows the server to recover from a gRPC panic
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.