config_cache_json.go 296 B

123456789101112
  1. // +build json
  2. package registry
  3. import (
  4. "v2ray.com/core/common/loader"
  5. )
  6. func init() {
  7. inboundConfigCache = loader.NewJSONConfigLoader(inboundConfigCreatorCache, "protocol", "settings")
  8. outboundConfigCache = loader.NewJSONConfigLoader(outboundConfigCreatorCache, "protocol", "settings")
  9. }