connection

package
v0.0.0-...-8bebed1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectorPool

type ConnectorPool struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewConnectorPool

func NewConnectorPool(confCreateFn func(string) *goetty.Conf, loopFn func(string, *goetty.Connector)) *ConnectorPool

func (*ConnectorPool) CloseConnector

func (self *ConnectorPool) CloseConnector(addr string, conn *goetty.Connector)

func (*ConnectorPool) GetConnector

func (self *ConnectorPool) GetConnector(addr string) (*goetty.Connector, error)

Jump to

Keyboard shortcuts

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