Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanupObject ¶
Types ¶
type Cleaner ¶
type Cleaner struct {
// contains filtered or unexported fields
}
Cleaner is an entity that allows tracking and executing cleanup methods.
func (*Cleaner) Add ¶
Add adds the given function to the cleanup stack.
Cleanup functions will be executed in reverse order.
Click to show internal directories.
Click to hide internal directories.