v2ray-core/transport/internet/ws/config.go

22 lines
321 B
Go
Raw Normal View History

2016-08-13 13:44:36 +00:00
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: "",
}
)