mirror of
https://github.com/net-byte/vtun
synced 2024-03-14 10:50:03 +08:00
31 lines
887 B
Go
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
|
|
}
|