all.go 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. package all
  2. import (
  3. // The following are necessary as they register handlers in their init functions.
  4. // Required features. Can't remove unless there is replacements.
  5. _ "v2ray.com/core/app/dispatcher"
  6. _ "v2ray.com/core/app/proxyman/inbound"
  7. _ "v2ray.com/core/app/proxyman/outbound"
  8. // Default commander and all its services.
  9. _ "v2ray.com/core/app/commander"
  10. _ "v2ray.com/core/app/log/command"
  11. _ "v2ray.com/core/app/proxyman/command"
  12. // Other optional features.
  13. _ "v2ray.com/core/app/dns"
  14. _ "v2ray.com/core/app/log"
  15. _ "v2ray.com/core/app/policy"
  16. _ "v2ray.com/core/app/router"
  17. // Inbound and outbound proxies.
  18. _ "v2ray.com/core/proxy/blackhole"
  19. _ "v2ray.com/core/proxy/dokodemo"
  20. _ "v2ray.com/core/proxy/freedom"
  21. _ "v2ray.com/core/proxy/http"
  22. _ "v2ray.com/core/proxy/shadowsocks"
  23. _ "v2ray.com/core/proxy/socks"
  24. _ "v2ray.com/core/proxy/vmess/inbound"
  25. _ "v2ray.com/core/proxy/vmess/outbound"
  26. // Transports
  27. _ "v2ray.com/core/transport/internet/kcp"
  28. _ "v2ray.com/core/transport/internet/tcp"
  29. _ "v2ray.com/core/transport/internet/tls"
  30. _ "v2ray.com/core/transport/internet/udp"
  31. _ "v2ray.com/core/transport/internet/websocket"
  32. // Transport headers
  33. _ "v2ray.com/core/transport/internet/headers/http"
  34. _ "v2ray.com/core/transport/internet/headers/noop"
  35. _ "v2ray.com/core/transport/internet/headers/srtp"
  36. _ "v2ray.com/core/transport/internet/headers/utp"
  37. _ "v2ray.com/core/transport/internet/headers/wechat"
  38. )