Package-Level Type Names (total 13, in which 8 are exported)
/* sort exporteds by: | */
DialFunc connects to the address on the named network.
DNSConfig is DC connection config obtained from DNS. Date field of HelpConfigSimple. Expires field of HelpConfigSimple. Rules field of HelpConfigSimple. Options returns DC options from this config.
func ParseDNSConfig(txt []string) (DNSConfig, error)
MTProxyOptions is MTProxy resolver creation options. Dial specifies the dial function for creating unencrypted TCP connections.
If Dial is nil, then the resolver dials using package net. Network to use. Defaults to "tcp" Random source for MTProxy obfuscator.(*MTProxyOptions) setDefaults()
func MTProxy(addr string, secret []byte, opts MTProxyOptions) (Resolver, error)
PlainOptions is plain resolver creation options. Dial specifies the dial function for creating unencrypted TCP connections.
If Dial is nil, then the resolver dials using package net. Network to use. Defaults to "tcp". NoObfuscated denotes to filter out TCP Obfuscated Only DCs. PreferIPv6 gives IPv6 DCs higher precedence.
Default is to prefer IPv4 DCs over IPv6. Protocol is the transport protocol to use. Defaults to intermediate. Random source for TCPObfuscated DCs.(*PlainOptions) setDefaults()
func Plain(opts PlainOptions) Resolver
WebsocketOptions is Websocket resolver creation options. Dialer specifies the websocket dialer.
If Dialer is nil, then the resolver dials using websocket.DefaultDialer. Random source for MTProxy obfuscator.(*WebsocketOptions) setDefaults()
func Websocket(opts WebsocketOptions) Resolver
The pages are generated with Goldsv0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds.