Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeferCleanup ¶
func DeferCleanup(handler func())
DeferCleanup same as RegisterCleanup, but last handler will be called first.
func RegisterCleanup ¶
func RegisterCleanup(handler func())
RegisterCleanup append custom cleanup handler, the handler will be invoked by `Cleanup` function. first handler will be called first
func RegisterGo ¶
func RegisterGo(fn ...func() error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.