Documentation ¶ Index ¶ func ErrorIsBrokenPipe(err any) bool func Recover(writer io.Writer, recoverHandler func(err any) any, ...) any Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ErrorIsBrokenPipe ¶ func ErrorIsBrokenPipe(err any) bool func Recover ¶ func Recover(writer io.Writer, recoverHandler func(err any) any, brokenPipeMsg func() string) any The Recover function allows a program to manage behavior of a panicking goroutine. affect as recoverHandler(recover()) brokenPipeMsg is called when panic for broken pipe Types ¶ This section is empty. Source Files ¶ View all Source files recover.go Click to show internal directories. Click to hide internal directories.