Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PanicRecover ¶
func PanicRecover(ctx string)
PanicRecover 用于所有 go routine 错误通知,但是不一定都会被处理, 只会处理第一个错误.
- PanicRecover : function to feed fault notifications for all go routine,
- but those might not be processed, only the first one will be processed.
func RegisterErrorNotifier ¶
func RegisterErrorNotifier(name string)
RegisterErrorNotifier who wants to know error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.