mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
18 lines
273 B
Go
18 lines
273 B
Go
package transport
|
|
|
|
import "github.com/v2ray/v2ray-core/transport/hub/kcpv"
|
|
|
|
var (
|
|
connectionReuse = true
|
|
enableKcp = false
|
|
KcpConfig *kcpv.Config
|
|
)
|
|
|
|
func IsConnectionReusable() bool {
|
|
return connectionReuse
|
|
}
|
|
|
|
func IsKcpEnabled() bool {
|
|
return enableKcp
|
|
}
|