Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Func ¶
type Func func() error
cleanupFunc represents a function to be called during cleanup. It returns an error if the cleanup step fails.
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
cleanupManager manages the stack of cleanup functions.
func NewManager ¶
newCleanupManager creates a new cleanup manager.
Click to show internal directories.
Click to hide internal directories.