Documentation
¶
Overview ¶
Package pool provides channel based bounded pooling capabilities.
Index ¶
Constants ¶
View Source
const Version = "0.2"
Version no. of aah framework pool library
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// New optionally specifies a function to generate
// a value when Get would otherwise return nil.
// It may not be changed concurrently with calls to Get.
New func() interface{}
// contains filtered or unexported fields
}
Pool holds the bounded channel for interface{}.
Click to show internal directories.
Click to hide internal directories.