Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPanicHandler ¶
func NewPanicHandler(logger Logger) recovery.RecoveryHandlerFunc
NewPanicHandler returns a recovery.RecoveryHandlerFunc closure function to handle panic in GRPC server's handlers.
func PanicHandlerMiddlewareOpts ¶
PanicHandlerMiddlewareOpts returns the []recovery.Option containing recovery handler function.
Types ¶
Click to show internal directories.
Click to hide internal directories.