Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterPool ¶
func RegisterPoolWithCleaner ¶
RegisterPoolWithCleaner registers a pool To allocates instance of T T is the target struct To be used. *T should implement the BT interface. if T needs To do close or clean operations, do it in cleanFunc, otherwise nil
Types ¶
Click to show internal directories.
Click to hide internal directories.