Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPicker ¶
func LoadPicker(p ChainPicker, r io.Reader) error
Types ¶
type Dialer ¶
type Dialer struct {
// contains filtered or unexported fields
}
func New ¶
func New(proxies ...ProxyDialer) *Dialer
func (*Dialer) DialContext ¶
type ProxyDialer ¶
type ProxyInfo ¶
func (*ProxyInfo) ToDialer ¶
func (p *ProxyInfo) ToDialer() (ProxyDialer, error)
func (*ProxyInfo) ToSOCKS4 ¶
func (p *ProxyInfo) ToSOCKS4() (ProxyDialer, error)
func (*ProxyInfo) ToSOCKS5 ¶
func (p *ProxyInfo) ToSOCKS5() (ProxyDialer, error)
func (*ProxyInfo) ToShadowSocks ¶
func (p *ProxyInfo) ToShadowSocks() (ProxyDialer, error)
type RoundRobin ¶
type RoundRobin struct {
// contains filtered or unexported fields
}
func (*RoundRobin) Add ¶
func (r *RoundRobin) Add(c Chain)
func (*RoundRobin) All ¶
func (r *RoundRobin) All() []Chain
func (*RoundRobin) Len ¶
func (r *RoundRobin) Len() int
func (*RoundRobin) Next ¶
func (r *RoundRobin) Next() Chain
Click to show internal directories.
Click to hide internal directories.