Documentation ¶
Index ¶
Constants ¶
View Source
const ( TunModeWinTun = "wintun" TunModeWinSyscall = "syscall" TunModeWater = "water" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TunConfig ¶
type TunConfig struct { TunName *string TunAddress *string TunGateway *string TunGWMetric *int TunMask *string TunDNS *string TunPersist *bool TunMode *string MTU *int BlockOutsideDNS *bool PublicOnly *bool EnableDNSCache *bool ProxyType *string ProxyServer *string DefaultGateway *string UDPTimeout *time.Duration DNSFallback *bool }
func (*TunConfig) FillWithDefaultValue ¶
func (config *TunConfig) FillWithDefaultValue()
func (*TunConfig) GetProxyHost ¶
Click to show internal directories.
Click to hide internal directories.