Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SessionPool ¶
type SessionPool interface { AcquireSession() *sessionWrapper Size() int }
func DialStrongPool ¶
func DialStrongPool(url string, fixedSize int) (SessionPool, error)
type StrongSessionPool ¶
type StrongSessionPool struct {
// contains filtered or unexported fields
}
func (*StrongSessionPool) AcquireSession ¶
func (p *StrongSessionPool) AcquireSession() *sessionWrapper
func (*StrongSessionPool) Size ¶
func (p *StrongSessionPool) Size() int
Click to show internal directories.
Click to hide internal directories.