pool

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pool

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

func New

func New(f func() (io.Closer, error), size uint16) *Pool

func (*Pool) Close

func (p *Pool) Close()

func (*Pool) Pull

func (p *Pool) Pull() (io.Closer, error)

func (*Pool) Push

func (p *Pool) Push(r io.Closer)

Jump to

Keyboard shortcuts

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