unified config loader

This commit is contained in:
v2ray committed 2016-06-10 22:26:39 +02:00
1 parent 3f7b70a465
commit e732ba62a6
18 files changed
+257 -215

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
// +build json
package internal
import (
"github.com/v2ray/v2ray-core/common/loader"
)
func init() {
inboundConfigCache = loader.NewJSONConfigLoader("protocol", "settings")
outboundConfigCache = loader.NewJSONConfigLoader("protocol", "settings")
}