mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-19 02:46:33 -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
|
|
}
|