panics

package
v1.2.3-testnet Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoroutineWrapperFunc

func GoroutineWrapperFunc(log logs.Logger, backendLog *logs.Backend) func(func())

GoroutineWrapperFunc returns a goroutine wrapper function that handles panics and write them to the log.

func HandlePanic

func HandlePanic(log logs.Logger, backendLog *logs.Backend)

HandlePanic recovers panics, log them, and then exits the process.

Types

This section is empty.

Jump to

Keyboard shortcuts

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