config_cache_json.go 254 B

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