mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-03 02:04:34 -04:00
13 lines
170 B
Go
13 lines
170 B
Go
package transport
|
|
|
|
type Config struct {
|
|
ConnectionReuse bool
|
|
}
|
|
|
|
func (this *Config) Apply() error {
|
|
if this.ConnectionReuse {
|
|
connectionReuse = true
|
|
}
|
|
return nil
|
|
}
|