Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPoolLimitReached = errors.New("pool limit reached") ErrNilBuffer = errors.New("cannot put nil-buffer into pool") ErrNoPoolBuffer = errors.New("buffer was not taken from pool") )
Some errors returned by the Put method.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool deinfes the byte buffer pool.
Click to show internal directories.
Click to hide internal directories.