pool

package
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0, BSD-3-Clause-Clear Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionPool

type ConnectionPool interface {
	GetConnection(ctx context.Context, address net.Addr) (net.Conn, error)
	CloseConnection(ctx context.Context, address net.Addr)
	Reset()
}

func NewConnectionPool

func NewConnectionPool(connectionFactory connectionFactory) ConnectionPool

Jump to

Keyboard shortcuts

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