mirror of https://github.com/v2ray/v2ray-core
22 lines
321 B
Go
22 lines
321 B
Go
|
package ws
|
||
|
|
||
|
type Config struct {
|
||
|
ConnectionReuse bool
|
||
|
Path string
|
||
|
Pto string
|
||
|
Cert string
|
||
|
PrivKey string
|
||
|
}
|
||
|
|
||
|
func (this *Config) Apply() {
|
||
|
effectiveConfig = this
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
effectiveConfig = &Config{
|
||
|
ConnectionReuse: true,
|
||
|
Path: "",
|
||
|
Pto: "",
|
||
|
}
|
||
|
)
|