Documentation ¶ Index ¶ func Recovery() framework.ControllerHandler func Test1() framework.ControllerHandler func Test2() framework.ControllerHandler func Test3() framework.ControllerHandler func Timeout(d time.Duration) framework.ControllerHandler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Recovery ¶ func Recovery() framework.ControllerHandler recovery机制,将协程中的函数异常进行捕获 func Test1 ¶ func Test1() framework.ControllerHandler func Test2 ¶ func Test2() framework.ControllerHandler func Test3 ¶ func Test3() framework.ControllerHandler func Timeout ¶ func Timeout(d time.Duration) framework.ControllerHandler Types ¶ This section is empty. Source Files ¶ View all Source files recovery.go test.go timeout.go Click to show internal directories. Click to hide internal directories.