(value string)
| 670 | } |
| 671 | |
| 672 | func supportedProtocol(value string) bool { |
| 673 | switch value { |
| 674 | case "vless", "trojan", "shadowsocks", "anytls", "hy2": |
| 675 | return true |
| 676 | default: |
| 677 | return false |
| 678 | } |
| 679 | } |
| 680 | |
| 681 | func validStatus(value string) bool { |
| 682 | switch value { |
no outgoing calls
no test coverage detected