dialer

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dial

type Dial struct {
	// contains filtered or unexported fields
}

func NewDialer

func NewDialer(name, address, username, password string, cidrs []string) *Dial

type DialerPool

type DialerPool struct {
	// contains filtered or unexported fields
}

func NewDialerPool

func NewDialerPool() *DialerPool

func (*DialerPool) Add

func (self *DialerPool) Add(name string, dial *Dial)

func (*DialerPool) AddByZones

func (self *DialerPool) AddByZones(zones map[string]interface{})

func (*DialerPool) Dial

func (self *DialerPool) Dial(network, hostport string) (net.Conn, error)

func (*DialerPool) Get

func (self *DialerPool) Get(hostport string) proxy.Dialer

Jump to

Keyboard shortcuts

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