This package provides a simple interface to centralize the handling of panics from multiple Goroutines in situations where typical panic handling is undesireable. Go will normally terminate a program's execution when it gets to the top of a Goroutine's stack; in some cases this may be undesireable, and it may be difficult or tedious to write customized recovery functions for each individual Goroutine. This is especially true of systems with a centrallized system of some sort that would be better suited towards handelling panics. This package allows you to provide a single simple cleanup function to forward all panics from any Goroutine to.
-
Notifications
You must be signed in to change notification settings - Fork 2
UserAB1236872/sanepanic
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Handles Goroutine panicking in a centralized manner.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published