mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-05 19:44:32 -04:00
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,
|
||
|
}
|
||
|
)
|