v2ray-core/proxy/registry/config_cache_json.go

13 lines
299 B
Go
Raw Normal View History

2016-06-10 22:26:39 +02:00
// +build json
package registry
2016-06-10 22:26:39 +02:00
import (
2016-08-20 20:55:45 +02:00
"v2ray.com/core/common/loader"
2016-06-10 22:26:39 +02:00
)
func init() {
2016-09-21 13:52:16 +02:00
inboundConfigCache = loader.NewJSONConfigLoader(loader.ConfigCreatorCache{}, "protocol", "settings")
outboundConfigCache = loader.NewJSONConfigLoader(loader.ConfigCreatorCache{}, "protocol", "settings")
2016-06-10 22:26:39 +02:00
}