diff options
| author | rammiah <rammiahcn@gmail.com> | 2025-06-11 13:42:41 +0300 |
|---|---|---|
| committer | rammiah <rammiahcn@gmail.com> | 2025-06-11 13:42:41 +0300 |
| commit | d1e07954c51229c2d74756685c33cd70c67fa2ef (patch) | |
| tree | a2e5623b9eb36cc998d869932599c74ca9335a28 /xray | |
| parent | d9922d93af64c30a40d855f0eed142f49e8b583a (diff) | |
feat: support metrics config
Diffstat (limited to 'xray')
| -rw-r--r-- | xray/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xray/config.go b/xray/config.go index 67ff7d95..a246b845 100644 --- a/xray/config.go +++ b/xray/config.go @@ -20,6 +20,7 @@ type Config struct { FakeDNS json_util.RawMessage `json:"fakedns"` Observatory json_util.RawMessage `json:"observatory"` BurstObservatory json_util.RawMessage `json:"burstObservatory"` + Metrics json_util.RawMessage `json:"metrics"` } func (c *Config) Equals(other *Config) bool { @@ -61,5 +62,8 @@ func (c *Config) Equals(other *Config) bool { if !bytes.Equal(c.FakeDNS, other.FakeDNS) { return false } + if !bytes.Equal(c.Metrics, other.Metrics) { + return false + } return true } |
