bufferpool

package
v1.0.0-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package bufferpool provides strongly-typed functions to interact with a shared pool of byte buffers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get() *buffer.Buffer

Get retrieves a buffer from the pool, creating one if necessary.

func Put

func Put(buf *buffer.Buffer)

Put returns a slice to the pool.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL