Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
type Collection struct {
// contains filtered or unexported fields
}
Collection is a collection of cleanup operations.
func (*Collection) Add ¶
func (c *Collection) Add(cf CloseFun)
Add adds a CloseFun to the collection.
func (*Collection) Close ¶
func (c *Collection) Close() []error
Close executes all cleanup operations.
Click to show internal directories.
Click to hide internal directories.