Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionPool ¶
type ConnectionPool interface {
Get() interface{}
Release(conn interface{})
}
func NewConnectionPool ¶
func NewConnectionPool(new func() (interface{}, error), size int) ConnectionPool
type CoroutinePool ¶
type CoroutinePool interface {
Add(Task)
Wait()
Close()
}
func NewCoroutinePool ¶
func NewCoroutinePool(size int) CoroutinePool
Click to show internal directories.
Click to hide internal directories.