Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cleanup ¶
type Cleanup interface { Append(CleanupFn) // registers a cleanup function to run after general stack Prepend(CleanupFn) // registers a cleanup function to run before general stack Do(CleanupFn) // registers a cleanup function to run in the general stack Close() error // executes registered cleanup functions }
Cleanup is an interface for registering cleanup functions
Click to show internal directories.
Click to hide internal directories.