Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InFlightConns ¶
type InFlightConns struct {
// contains filtered or unexported fields
}
func NewInFlightConns ¶
func NewInFlightConns() (*InFlightConns, error)
func (*InFlightConns) Add ¶
func (i *InFlightConns) Add(conn net.Conn)
func (*InFlightConns) Close ¶
func (i *InFlightConns) Close() error
func (*InFlightConns) Remove ¶
func (i *InFlightConns) Remove(conn net.Conn)
type OneTimePool ¶
type OneTimePool struct { InFlightConns *InFlightConns Dialer Dialer // contains filtered or unexported fields }
OneTimePool is a pool designed to create continous bare connections that are for one time only usage
func NewOneTimePool ¶
func (*OneTimePool) Close ¶
func (p *OneTimePool) Close() error
func (*OneTimePool) Run ¶
func (p *OneTimePool) Run() error
Click to show internal directories.
Click to hide internal directories.