Documentation ¶
Overview ¶
*
* * @author liangjf * @create on 2020/6/8 * @version 1.0
*
* * @author liangjf * @create on 2020/6/8 * @version 1.0
*
* * @author liangjf * @create on 2020/6/8 * @version 1.0
*
* * @author liangjf * @create on 2020/6/8 * @version 1.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPoolParam = errors.New("param is error") ErrPoolBilderNil = errors.New("builder is nil") ErrPoolBuilder = errors.New("pool builder is error") ErrPoolConnIsNil = errors.New("pool conn is nil") ErrPoolBuilderConn = errors.New("pool builder conn error") ErrPoolNoIdeConn = errors.New("pool no ide conn") )
View Source
var (
ErrNetHadClosed = errors.New("net had closed")
)
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
func WithBuilder ¶
func WithInitCap ¶
func WithMaxCap ¶
func WithMaxIdle ¶
Click to show internal directories.
Click to hide internal directories.