mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-10-30 03:42:51 +00:00
Compare commits
No commits in common. "4531574de39887e149fe702cd76e2b2d01738632" and "d9922d93af64c30a40d855f0eed142f49e8b583a" have entirely different histories.
4531574de3
...
d9922d93af
2 changed files with 2 additions and 10 deletions
|
|
@ -81,9 +81,5 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"stats": {},
|
"stats": {}
|
||||||
"metrics": {
|
|
||||||
"tag": "metrics_out",
|
|
||||||
"listen": "127.0.0.1:11111"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
@ -20,7 +20,6 @@ type Config struct {
|
||||||
FakeDNS json_util.RawMessage `json:"fakedns"`
|
FakeDNS json_util.RawMessage `json:"fakedns"`
|
||||||
Observatory json_util.RawMessage `json:"observatory"`
|
Observatory json_util.RawMessage `json:"observatory"`
|
||||||
BurstObservatory json_util.RawMessage `json:"burstObservatory"`
|
BurstObservatory json_util.RawMessage `json:"burstObservatory"`
|
||||||
Metrics json_util.RawMessage `json:"metrics"`
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Config) Equals(other *Config) bool {
|
func (c *Config) Equals(other *Config) bool {
|
||||||
|
|
@ -62,8 +61,5 @@ func (c *Config) Equals(other *Config) bool {
|
||||||
if !bytes.Equal(c.FakeDNS, other.FakeDNS) {
|
if !bytes.Equal(c.FakeDNS, other.FakeDNS) {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
if !bytes.Equal(c.Metrics, other.Metrics) {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue