Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultHandler = func(err interface{}) { log.ErrorStack(context.Background(), err) }
Functions ¶
func GoWithArgs ¶
func GoWithArgs(f func(args ...interface{}), args ...interface{})
func GoWithHandler ¶
func GoWithHandler(f func(args ...interface{}), handler Handler, args ...interface{})
GoWithHandler will run function f(args... interface{}) in a go routines. And handler the panic if occur with given handler.
Types ¶
Click to show internal directories.
Click to hide internal directories.