//
pkg.gl
Category
github.com/thinkgos/x
lib
bpool
package
0.4.1
Repository:
https://github.com/thinkgos/x.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
1
Dependents
0
Files
56 SLOC
#
Functions
NewBuffer
NewBuffer creates a leaky buffer which can hold at most n buffer, each with capacity bytes.
NewPool
NewPool creates a leaky buffer which can hold at most n buffer, each with capacity bytes.
#
Structs
Buffer
Buffer leaky buffer.
Pool
Pool pool buffer.
#
Interfaces
BufferPool
BufferPool buffer pool interface.