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.

21 lines
347 B

#!/usr/bin/python
# -*- coding:utf-8 -*-
from ProxyTester import Shadowsocks
testInfo = {
'type': 'ss',
'method': 'aes-256-ctr',
'plugin': None
}
def test(key: str) -> list:
if key == 'ss':
return Shadowsocks.ssTest()
elif key == 'ssr':
pass
elif key == 'vmess':
pass
else:
return []