vtun/common/config/config.go
2023-05-31 10:07:59 +08:00

31 lines
887 B
Go

package config
// The config struct
type Config struct {
DeviceName string
LocalAddr string
ServerAddr string
ServerIP string
ServerIPv6 string
CIDR string
CIDRv6 string
Key string
Protocol string
WebSocketPath string
ServerMode bool
GlobalMode bool
Obfs bool
Compress bool
MTU int
Timeout int
LocalGateway string
LocalGatewayv6 string
TLSCertificateFilePath string
TLSCertificateKeyFilePath string
TLSSni string
TLSInsecureSkipVerify bool
BufferSize int
Verbose bool
PSKMode bool
}