Documentation
¶
Overview ¶
Package pool manages a pool of resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type T ¶
type T struct {
// contains filtered or unexported fields
}
T is a simple structure that maintains a pool. It offloads the heavy duty of whether a value should be returned to the fn function. This way, a user can determine when/how objects are returned.
Click to show internal directories.
Click to hide internal directories.