MCPcopy Create free account
hub / github.com/SamNet-dev/snix / detectV2ray

Function detectV2ray

integrate/integrate.go:58–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56
57func detectXray() (Client, bool) { return detectJSONProxy("xray", xrayConfigPaths()) }
58func detectV2ray() (Client, bool) { return detectJSONProxy("v2ray", v2rayConfigPaths()) }
59
60// detectJSONProxy looks for an executable on PATH and a config file in one
61// of the candidate locations. Returns a Client that patches the first

Callers 1

DetectFunction · 0.85

Calls 2

detectJSONProxyFunction · 0.85
v2rayConfigPathsFunction · 0.85

Tested by

no test coverage detected