rpanic

package
v0.0.0-...-9f791b1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNotify

func GetNotify() <-chan error

GetNotify 返回 通知.

func InitPhotonPanic

func InitPhotonPanic()

InitPhotonPanic init my panic system

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL