_7_pool

package
v0.0.0-...-ec98fb3 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT 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 NewPool

func NewPool(network, address string, max int) *Pool

func (*Pool) Get

func (p *Pool) Get(ctx context.Context) (net.Conn, error)

func (*Pool) Release

func (p *Pool) Release(conn net.Conn)

Jump to

Keyboard shortcuts

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