Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorIsBrokenPipe ¶
func ErrorIsBrokenPipe(err interface{}) bool
func Recover ¶
func Recover(writer io.Writer, recoverHandler func(err interface{}) interface{}, brokenPipeMsg func() string) interface{}
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.
Click to show internal directories.
Click to hide internal directories.