Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorHandler ¶
type ErrorHandler func(error)
ErrorHandler handler for error
func NotifyOrPanic ¶
func NotifyOrPanic(errChan chan error) ErrorHandler
NotifyOrPanic if given errChan is nil, panic on error, otherwise send error to errChan
Click to show internal directories.
Click to hide internal directories.