Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy struct {
Addr string `json:"addr" yaml:"addr" ini:"addr"`
Account string `json:"account" yaml:"account" ini:"account"`
Password string `json:"password" yaml:"password" ini:"password"`
// contains filtered or unexported fields
}
func (*Proxy) GetProxyUrl ¶
func (*Proxy) ProxyType ¶
func (p *Proxy) ProxyType() ProxyTypes
type ProxyTypes ¶
type ProxyTypes string
const ( ProxyNone ProxyTypes = "none" // 无代理 ProxyHttp ProxyTypes = "http" // http 代理 ProxyHttps ProxyTypes = "https" // https 代理 ProxySocks5 ProxyTypes = "socks5" // socks 代理 ProxyUnknown ProxyTypes = "unknown" // 无效的代理类型 )
Click to show internal directories.
Click to hide internal directories.