Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewObject ¶
type NewObject func() (ObjectItem, error)
type ObjectItem ¶
type ObjectItem interface {
Close() error
}
type Pool ¶
type Pool interface { Acquire() (ObjectItem, error) // get object Release(ObjectItem) error // release object Shutdown() error // close }
Click to show internal directories.
Click to hide internal directories.