()
| 56 | |
| 57 | func detectXray() (Client, bool) { return detectJSONProxy("xray", xrayConfigPaths()) } |
| 58 | func 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 |
no test coverage detected