mirror of https://github.com/dnomd343/ProxyC
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
353 B
15 lines
353 B
#!/usr/bin/python
|
|
# -*- coding:utf-8 -*-
|
|
|
|
from ProxyTester import Shadowsocks
|
|
from ProxyTester import ShadowsocksR
|
|
|
|
def test(key: str, config: dict) -> list:
|
|
if key == 'ss':
|
|
return Shadowsocks.ssTest(config)
|
|
elif key == 'ssr':
|
|
return ShadowsocksR.ssrTest(config)
|
|
elif key == 'vmess':
|
|
pass
|
|
else:
|
|
return []
|
|
|