Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RecoveredErr = errors.New("recovered")
Functions ¶
func RecoveryInterceptorMiddleware ¶
func RecoveryInterceptorMiddleware(logger *logr.Logger) grpc.UnaryServerInterceptor
RecoveryInterceptorMiddleware 防止panic导致整个服务崩溃
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.