1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-05-17 01:49:08 -04:00

json config parser

This commit is contained in:
Darien Raymond
2016-10-17 14:35:13 +02:00
parent e866ff24a4
commit 5a311cbe08
85 changed files with 9358 additions and 9053 deletions

View File

@@ -5,6 +5,13 @@ import (
"v2ray.com/core/transport/internet"
)
func (this *ConnectionReuse) IsEnabled() bool {
if this == nil {
return true
}
return this.Enable
}
func init() {
internet.RegisterNetworkConfigCreator(v2net.Network_TCP, func() interface{} {
return new(Config)