proxy.go 619 B

123456789101112131415161718192021222324252627
  1. package constant
  2. const (
  3. TypeTun = "tun"
  4. TypeRedirect = "redirect"
  5. TypeTProxy = "tproxy"
  6. TypeDirect = "direct"
  7. TypeBlock = "block"
  8. TypeDNS = "dns"
  9. TypeSocks = "socks"
  10. TypeHTTP = "http"
  11. TypeMixed = "mixed"
  12. TypeShadowsocks = "shadowsocks"
  13. TypeVMess = "vmess"
  14. TypeTrojan = "trojan"
  15. TypeNaive = "naive"
  16. TypeWireGuard = "wireguard"
  17. TypeHysteria = "hysteria"
  18. TypeTor = "tor"
  19. TypeSSH = "ssh"
  20. TypeShadowTLS = "shadowtls"
  21. TypeShadowsocksR = "shadowsocksr"
  22. )
  23. const (
  24. TypeSelector = "selector"
  25. )