v2ray-core/proxy/registry/config_cache_json.go

13 lines
296 B
Go
Raw Normal View History

2016-06-10 20:26:39 +00:00
// +build json
package registry
2016-06-10 20:26:39 +00:00
import (
2016-08-20 18:55:45 +00:00
"v2ray.com/core/common/loader"
2016-06-10 20:26:39 +00:00
)
func init() {
2016-09-21 12:39:07 +00:00
inboundConfigCache = loader.NewJSONConfigLoader(inboundConfigCreatorCache, "protocol", "settings")
outboundConfigCache = loader.NewJSONConfigLoader(outboundConfigCreatorCache, "protocol", "settings")
2016-06-10 20:26:39 +00:00
}