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

16 lines
180 B
Go

package tcp
type Config struct {
ConnectionReuse bool
}
func (this *Config) Apply() {
effectiveConfig = this
}
var (
effectiveConfig = &Config{
ConnectionReuse: true,
}
)