package
Version:
v0.0.0-...-8263150
Opens a new window with list of versions in this module.
Published: Sep 21, 2019
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Pool is a buffer pool.
func NewPool(num, size int) (p *Pool)
NewPool new a memory buffer pool struct.
Get get a free memory buffer.
Init init the memory buffer.
Put put back a memory buffer to free.
Writer writer.
NewWriterSize new a writer with size.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.