package
Version:
v0.3.1-beta.4
Opens a new window with list of versions in this module.
Published: Jul 20, 2022
License: MIT
Opens a new window with license information.
Imports: 24
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Bypass struct {
TCP int32 `json:"tcp"`
UDP int32 `json:"udp"`
Block string `json:"block"`
Proxy string `json:"proxy"`
Direct string `json:"direct"`
}
type DNS struct {
Host string `json:"host"`
Type int32 `json:"type"`
Proxy bool `json:"proxy"`
Subnet string `json:"subnet"`
TlsServername string `json:"tls_servername"`
}
type DNSSetting struct {
Server string `json:"server"`
Fakedns bool `json:"fakedns"`
FakednsIpRange string `json:"fakedns_ip_range"`
Remote *DNS `json:"remote"`
Local *DNS `json:"local"`
Bootstrap *DNS `json:"bootstrap"`
}
type Opts struct {
Host string `json:"host"`
Savepath string `json:"savepath"`
Socks5 string `json:"socks5"`
Http string `json:"http"`
SaveLogcat bool `json:"save_logcat"`
Bypass *Bypass `json:"bypass"`
DNS *DNSSetting `json:"dns"`
TUN *TUN `json:"tun"`
}
type TUN struct {
FD int32 `json:"fd"`
MTU int32 `json:"mtu"`
Gateway string `json:"gateway"`
DNSHijacking bool `json:"dns_hijacking"`
Driver int32 `json:"driver"`
UidDumper UidDumper
}
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.