sync

package
v1.352.0 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: MIT Imports: 3 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

Module for fx.

Functions

This section is empty.

Types

type BufferPool

type BufferPool struct {
	// contains filtered or unexported fields
}

BufferPool for sync.

func NewBufferPool

func NewBufferPool() *BufferPool

NewBufferPool for sync.

func (*BufferPool) Get

func (p *BufferPool) Get() *bytes.Buffer

Get a new buffer.

func (*BufferPool) Put

func (p *BufferPool) Put(b *bytes.Buffer)

Put the buffer back.

Jump to

Keyboard shortcuts

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