Documentation
¶
Overview ¶
Package panicguard runs background work in a goroutine with a recovery frame.
The gRPC recovery middleware only wraps the request handler's own stack. A goroutine spawned from a handler escapes it, so an unrecovered panic there terminates the whole process. Any request-spawned goroutine must therefore run through this package instead of a bare `go`.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.