Documentation
¶
Overview ¶
Package bpool Provides bpool buffer pool
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buffer ¶
type Buffer struct {
// contains filtered or unexported fields
}
Buffer leaky buffer
func NewBuffer ¶
NewBuffer creates a leaky buffer which can hold at most n buffer, each with capacity bytes.
type BufferPool ¶
BufferPool buffer pool interface
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool pool buffer
func NewPool ¶
NewPool creates a leaky buffer which can hold at most n buffer, each with capacity bytes.
Click to show internal directories.
Click to hide internal directories.