mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-10-31 00:08:08 -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,
|
||
|
}
|
||
|
)
|