Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientCreatorFunc ¶
type ClientCreatorFunc func() interface{}
type ClientPool ¶
type ClientPool struct {
// contains filtered or unexported fields
}
func (*ClientPool) Alloc ¶
func (p *ClientPool) Alloc() interface{}
func (*ClientPool) Free ¶
func (p *ClientPool) Free(v interface{})
func (*ClientPool) Init ¶
func (p *ClientPool) Init(init int, max int, allocFunc ClientCreatorFunc)
Click to show internal directories.
Click to hide internal directories.