Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidConn = errors.New("Invalid Connection.")
)
Functions ¶
Types ¶
type ConnectionId ¶
func NewConnectionId ¶
func NewConnectionId(source v2net.Address, dest v2net.Destination) ConnectionId
type ConnectionRecyler ¶
type ConnectionRecyler interface {
Put(ConnectionId, net.Conn)
}
type ExpiringConnection ¶
type ExpiringConnection struct {
// contains filtered or unexported fields
}
func (*ExpiringConnection) Expired ¶
func (o *ExpiringConnection) Expired() bool
type Pool ¶
func NewConnectionPool ¶
func NewConnectionPool() *Pool
Click to show internal directories.
Click to hide internal directories.