mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-19 02:46:33 -05:00
23 lines
415 B
Go
23 lines
415 B
Go
package ws
|
|
|
|
type Config struct {
|
|
ConnectionReuse bool
|
|
Path string
|
|
Pto string
|
|
Cert string
|
|
PrivKey string
|
|
DeveloperInsecureSkipVerify bool
|
|
}
|
|
|
|
func (this *Config) Apply() {
|
|
effectiveConfig = this
|
|
}
|
|
|
|
var (
|
|
effectiveConfig = &Config{
|
|
ConnectionReuse: true,
|
|
Path: "",
|
|
Pto: "",
|
|
}
|
|
)
|