all.go 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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/proxyman/command"
  11. // Other optional features.
  12. _ "v2ray.com/core/app/dns"
  13. _ "v2ray.com/core/app/log"
  14. _ "v2ray.com/core/app/policy"
  15. _ "v2ray.com/core/app/router"
  16. // Inbound and outbound proxies.
  17. _ "v2ray.com/core/proxy/blackhole"
  18. _ "v2ray.com/core/proxy/dokodemo"
  19. _ "v2ray.com/core/proxy/freedom"
  20. _ "v2ray.com/core/proxy/http"
  21. _ "v2ray.com/core/proxy/shadowsocks"
  22. _ "v2ray.com/core/proxy/socks"
  23. _ "v2ray.com/core/proxy/vmess/inbound"
  24. _ "v2ray.com/core/proxy/vmess/outbound"
  25. // Transports
  26. _ "v2ray.com/core/transport/internet/kcp"
  27. _ "v2ray.com/core/transport/internet/tcp"
  28. _ "v2ray.com/core/transport/internet/tls"
  29. _ "v2ray.com/core/transport/internet/udp"
  30. _ "v2ray.com/core/transport/internet/websocket"
  31. // Transport headers
  32. _ "v2ray.com/core/transport/internet/headers/http"
  33. _ "v2ray.com/core/transport/internet/headers/noop"
  34. _ "v2ray.com/core/transport/internet/headers/srtp"
  35. _ "v2ray.com/core/transport/internet/headers/utp"
  36. _ "v2ray.com/core/transport/internet/headers/wechat"
  37. )