package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Oct 3, 2016
License: BSD-3-Clause
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Service provides unified way of logging and notifying panic events.
Recover is a fucntion that recovers from panic, logs and notifies event.
It should be used as an argument to defer statement:
recoveryService := &recovery.Service{...}
go func() {
defer recoveryService.Recover()
...
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.