Documentation ¶ Index ¶ Constants type Pool func New(rsize, wsize int) *Pool func (p *Pool) GetReader(r io.Reader) *bufio.Reader func (p *Pool) GetWriter(w io.Writer) *bufio.Writer func (p *Pool) PutReader(br *bufio.Reader) func (p *Pool) PutWriter(bw *bufio.Writer) Constants ¶ View Source const DefaultBufSize = 4096 Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Pool ¶ type Pool struct { // contains filtered or unexported fields } func New ¶ func New(rsize, wsize int) *Pool func (*Pool) GetReader ¶ func (p *Pool) GetReader(r io.Reader) *bufio.Reader func (*Pool) GetWriter ¶ func (p *Pool) GetWriter(w io.Writer) *bufio.Writer func (*Pool) PutReader ¶ func (p *Pool) PutReader(br *bufio.Reader) func (*Pool) PutWriter ¶ func (p *Pool) PutWriter(bw *bufio.Writer) Source Files ¶ View all Source files pool.go Click to show internal directories. Click to hide internal directories.