sync

package
v1.303.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2024 License: MIT Imports: 3 Imported by: 9

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