Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
Option configures a Pool.
func WithFinalizer ¶
WithFinalizer sets a cleanup function called before items are returned.
func WithMaxSize ¶
WithMaxSize limits the pool to n active items.
Click to show internal directories.
Click to hide internal directories.