mirror of https://github.com/v2ray/v2ray-core
16 lines
180 B
Go
16 lines
180 B
Go
|
package tcp
|
||
|
|
||
|
type Config struct {
|
||
|
ConnectionReuse bool
|
||
|
}
|
||
|
|
||
|
func (this *Config) Apply() {
|
||
|
effectiveConfig = this
|
||
|
}
|
||
|
|
||
|
var (
|
||
|
effectiveConfig = &Config{
|
||
|
ConnectionReuse: true,
|
||
|
}
|
||
|
)
|