mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-17 18:06:15 -05: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,
|
|
}
|
|
)
|