Documentation
¶
Overview ¶
Code generated by strings.go; DO NOT EDIT.
Index ¶
- Variables
- func AddFakeDnsCidr(process AddRoute)
- func AddRulesCidrv2(process AddRoute)
- func CloseStore()
- func FakeDnsCidr(f func(string))
- func InitDB(path string, sp string)
- func NewUidDumper(ud UidDumper) netapi.ProcessDumper
- type AddRoute
- type App
- type CIDR
- type Closer
- type NotifySpped
- type Opts
- type SocketProtect
- type Store
- type TUN
- type UidDumper
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NewHTTPPortKey = "http_port" NewYuhaiinPortKey = "yuhaiin_port" NewHostsKey = "hosts" )
View Source
var ( AdvAppBypassKey = `app_bypass` AdvAppListKey = `app_list` AdvAutoConnectKey = `auto_connect` AdvDnsKey = `dns` AdvDnsPortKey = `dns_port` AdvFakeDnsCidrKey = `fake_dns_cidr` AdvFakeDnsv6CidrKey = `fake_dnsv6_cidr` AdvNewAppListKey = `new_app_list` AdvPerAppKey = `per_app` AdvRouteKey = `route` AdvRouteAll = `All (Default)` AdvRouteNonChn = `Non-Chinese IPs` AdvRouteNonLocal = `Non-Local IPs` AdvTunDriverKey = `Tun Driver` AllowLanKey = `allow_lan` AppendHttpProxyToVpnKey = `Append HTTP Proxy to VPN` AuthPasswordKey = `password` AuthUsernameKey = `username` AuthUserpwKey = `auth_userpw` BootstrapDnsHostKey = `bootstrap_dns_host` BootstrapDnsSubnetKey = `bootstrap_dns_subnet` BootstrapDnsTlsServerNameKey = `bootstrap_dns_tls_server_name` BootstrapDnsTypeKey = `bootstrap_dns_type` BypassBlockValue = `block` BypassBypassValue = `bypass` BypassDirectValue = `direct` BypassProxyValue = `proxy` BypassTcpKey = `TCP` BypassUdpKey = `UDP` DnsHijacking = `dns_hijacking` DnsHostsKey = `hosts_key` DnsTypeDoh3Value = `doh3` DnsTypeDohValue = `doh` DnsTypeDoqValue = `doq` DnsTypeDotValue = `dot` DnsTypeDotcpValue = `tcp` DnsTypeDoudpValue = `udp` HttpServerPortKey = `http_server_port` Ipv6ProxyKey = `ipv6` LocalDnsHostKey = `local_dns_host` LocalDnsProxyKey = `local_dns_proxy` LocalDnsSubnetKey = `local_dns_subnet` LocalDnsTlsServerNameKey = `local_dns_tls_server_name` LocalDnsTypeKey = `local_dns_type` LogLevel = `Log Level` LogLevelDebug = `debug` LogLevelError = `error` LogLevelFatal = `fatal` LogLevelInfo = `info` LogLevelVerbose = `verbose` LogLevelWarning = `warning` NetworkSpeedKey = `network_speed` PortsKey = `ports_key` RemoteDnsCategoryKey = `remote_dns_category` RemoteDnsHostKey = `remote_dns_host` RemoteDnsProxyKey = `remote_dns_proxy` RemoteDnsResolveDomainKey = `remote_dns_resolve_domain` RemoteDnsSubnetKey = `remote_dns_subnet` RemoteDnsTlsServerNameKey = `remote_dns_tls_server_name` RemoteDnsTypeKey = `remote_dns_type` RuleBlock = `Block` RuleDirect = `Direct` RuleProxy = `Proxy` RuleUpdateBypassFileKey = `Rule Update Bypass` SaveLogcat = `save_logcat` SniffKey = `Sniff` Socks5ServerPortKey = `socks5_server_port` TunDriverChannelValue = `channel` TunDriverFdbasedValue = `fdbased` TunDriverSystemGvisorValue = `system_gvisor` UdpProxyFqdnKey = `UDP proxy FQDN` YuhaiinPortKey = `yuhaiin_port` AdvBypassModeValue = []string{ BypassBypassValue, BypassDirectValue, BypassProxyValue, BypassBlockValue, } AdvRoutes = []string{ AdvRouteAll, AdvRouteNonLocal, AdvRouteNonChn, } DnsTypesValue = []string{ DnsTypeDoudpValue, DnsTypeDotcpValue, DnsTypeDohValue, DnsTypeDotValue, DnsTypeDoqValue, DnsTypeDoh3Value, } LogLevels = []string{ LogLevelVerbose, LogLevelDebug, LogLevelInfo, LogLevelWarning, LogLevelError, LogLevelFatal, } TunDriversValue = []string{ TunDriverFdbasedValue, TunDriverChannelValue, TunDriverSystemGvisorValue, } )
Functions ¶
func AddFakeDnsCidr ¶ added in v0.3.8
func AddFakeDnsCidr(process AddRoute)
func AddRulesCidrv2 ¶ added in v0.3.8
func AddRulesCidrv2(process AddRoute)
func CloseStore ¶ added in v0.3.7
func CloseStore()
func FakeDnsCidr ¶ added in v0.3.8
func FakeDnsCidr(f func(string))
func NewUidDumper ¶
func NewUidDumper(ud UidDumper) netapi.ProcessDumper
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func (*App) SaveNewBypass ¶
type NotifySpped ¶ added in v0.3.7
type Opts ¶
type Opts struct { CloseFallback Closer NotifySpped NotifySpped TUN *TUN `json:"tun"` Savepath string `json:"savepath"` }
type SocketProtect ¶
type Store ¶ added in v0.3.7
type Store interface { PutString(key string, value string) PutInt(key string, value int32) PutBoolean(key string, value bool) PutLong(key string, value int64) PutFloat(key string, value float32) GetString(key string) string GetInt(key string) int32 GetBoolean(key string) bool GetLong(key string) int64 GetFloat(key string) float32 GetBytes(key string) []byte PutBytes(key string, value []byte) Close() error }
Source Files
¶
Click to show internal directories.
Click to hide internal directories.