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, host *legacyhost.Host) (io.ReadWriter, error) CloseConnection(ctx context.Context, host *legacyhost.Host) Reset() }
ConnectionPool interface provides methods to manage pool of network connections
func NewConnectionPool ¶
func NewConnectionPool(t transport.StreamTransport) ConnectionPool
NewConnectionPool constructor creates new ConnectionPool
Click to show internal directories.
Click to hide internal directories.