pool

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 3 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPtr = errors.New("the incoming pointer cannot be nil")
)

Functions

func NewBuffer

func NewBuffer() *bytes.Buffer

func ReleaseBuffer

func ReleaseBuffer(b *bytes.Buffer)

Types

type BufferClose

type BufferClose struct {
	bytes.Buffer
}

func NewBufferClose

func NewBufferClose() *BufferClose

func (*BufferClose) Close

func (b *BufferClose) Close() error

Jump to

Keyboard shortcuts

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