Documentation ¶
Index ¶
- Constants
- type Conn
- func (c *Conn) BufioReader() *bufio.Reader
- func (c *Conn) Close()
- func (c *Conn) Flush() error
- func (c *Conn) Read(p []byte) (int, error)
- func (c *Conn) SetDeadline(t time.Time) error
- func (c *Conn) SetReadDeadline(t time.Time) error
- func (c *Conn) SetWriteDeadline(t time.Time) error
- func (c *Conn) Write(p []byte) (int, error)
- type CreateConnFunc
- type Pool
- type Pools
Constants ¶
View Source
const (
DefaultBufSize = 4 * 1024
)
View Source
const PoolIdleTimeoutSecond = 120
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
not thread-safe
func NewConnectionWithSize ¶
func (*Conn) BufioReader ¶
type CreateConnFunc ¶
Click to show internal directories.
Click to hide internal directories.