Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool[T any] struct { // contains filtered or unexported fields }
Pool is a sync.Pool wrapped for type-safety
type ResetPool ¶
ResetPool is a sync.Pool wrapped with a generic Resetable interface, the pool calls Reset before returning an item to the pool.
func NewResetPool ¶
Click to show internal directories.
Click to hide internal directories.