Versions in this module Expand all Collapse all v1 v1.8.1 Oct 15, 2024 v1.8.0 Oct 4, 2024 Changes in this version + var DefaultConfig = nativeConfig + type Config struct + BufferSize int + CIDR string + CIDRv6 string + Compress bool + DeviceName string + GlobalMode bool + Host string + Key string + LocalAddr string + LocalGateway string + LocalGatewayv6 string + MTU int + Obfs bool + PSKMode bool + Path string + Protocol string + ServerAddr string + ServerIP string + ServerIPv6 string + ServerMode bool + TLSCertificateFilePath string + TLSCertificateKeyFilePath string + TLSInsecureSkipVerify bool + TLSSni string + Timeout int + Verbose bool + func (c *Config) LoadConfig(configFile string) (err error) + func (c *Config) UnmarshalJSON(data []byte) error v1.8.0-nightly.20241008 Oct 8, 2024 v1.8.0-nightly.20241004 Oct 4, 2024