| 1 | export const PROXY_TYPES = [ |
| 2 | 'tcp', |
| 3 | 'udp', |
| 4 | 'http', |
| 5 | 'https', |
| 6 | 'tcpmux', |
| 7 | 'stcp', |
| 8 | 'sudp', |
| 9 | 'xtcp', |
| 10 | ] as const |
| 11 | |
| 12 | export type ProxyType = (typeof PROXY_TYPES)[number] |
| 13 | |
| 14 | export const VISITOR_TYPES = ['stcp', 'sudp', 'xtcp'] as const |
| 15 | |
| 16 | export type VisitorType = (typeof VISITOR_TYPES)[number] |
| 17 | |
| 18 | export const PLUGIN_TYPES = [ |
| 19 | '', |
| 20 | 'http2https', |
| 21 | 'http_proxy', |
| 22 | 'https2http', |
| 23 | 'https2https', |
| 24 | 'http2http', |
| 25 | 'socks5', |
| 26 | 'static_file', |
| 27 | 'unix_domain_socket', |
| 28 | 'tls2raw', |
| 29 | 'virtual_net', |
| 30 | ] as const |
| 31 | |
| 32 | export type PluginType = (typeof PLUGIN_TYPES)[number] |