all.go 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. _ "github.com/v2fly/v2ray-core/v4/app/dispatcher"
  6. _ "github.com/v2fly/v2ray-core/v4/app/proxyman/inbound"
  7. _ "github.com/v2fly/v2ray-core/v4/app/proxyman/outbound"
  8. // Default commander and all its services. This is an optional feature.
  9. _ "github.com/v2fly/v2ray-core/v4/app/commander"
  10. _ "github.com/v2fly/v2ray-core/v4/app/log/command"
  11. _ "github.com/v2fly/v2ray-core/v4/app/proxyman/command"
  12. _ "github.com/v2fly/v2ray-core/v4/app/stats/command"
  13. // Other optional features.
  14. _ "github.com/v2fly/v2ray-core/v4/app/dns"
  15. _ "github.com/v2fly/v2ray-core/v4/app/dns/fakedns"
  16. _ "github.com/v2fly/v2ray-core/v4/app/log"
  17. _ "github.com/v2fly/v2ray-core/v4/app/policy"
  18. _ "github.com/v2fly/v2ray-core/v4/app/reverse"
  19. _ "github.com/v2fly/v2ray-core/v4/app/router"
  20. _ "github.com/v2fly/v2ray-core/v4/app/stats"
  21. _ "github.com/v2fly/v2ray-core/v4/transport/internet/tagged/taggedimpl"
  22. // Inbound and outbound proxies.
  23. _ "github.com/v2fly/v2ray-core/v4/proxy/blackhole"
  24. _ "github.com/v2fly/v2ray-core/v4/proxy/dns"
  25. _ "github.com/v2fly/v2ray-core/v4/proxy/dokodemo"
  26. _ "github.com/v2fly/v2ray-core/v4/proxy/freedom"
  27. _ "github.com/v2fly/v2ray-core/v4/proxy/http"
  28. _ "github.com/v2fly/v2ray-core/v4/proxy/mtproto"
  29. _ "github.com/v2fly/v2ray-core/v4/proxy/shadowsocks"
  30. _ "github.com/v2fly/v2ray-core/v4/proxy/socks"
  31. _ "github.com/v2fly/v2ray-core/v4/proxy/trojan"
  32. _ "github.com/v2fly/v2ray-core/v4/proxy/vless/inbound"
  33. _ "github.com/v2fly/v2ray-core/v4/proxy/vless/outbound"
  34. _ "github.com/v2fly/v2ray-core/v4/proxy/vmess/inbound"
  35. _ "github.com/v2fly/v2ray-core/v4/proxy/vmess/outbound"
  36. // Transports
  37. _ "github.com/v2fly/v2ray-core/v4/transport/internet/domainsocket"
  38. _ "github.com/v2fly/v2ray-core/v4/transport/internet/http"
  39. _ "github.com/v2fly/v2ray-core/v4/transport/internet/kcp"
  40. _ "github.com/v2fly/v2ray-core/v4/transport/internet/quic"
  41. _ "github.com/v2fly/v2ray-core/v4/transport/internet/tcp"
  42. _ "github.com/v2fly/v2ray-core/v4/transport/internet/tls"
  43. _ "github.com/v2fly/v2ray-core/v4/transport/internet/udp"
  44. _ "github.com/v2fly/v2ray-core/v4/transport/internet/websocket"
  45. // Transport headers
  46. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/http"
  47. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/noop"
  48. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/srtp"
  49. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/tls"
  50. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/utp"
  51. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/wechat"
  52. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/wireguard"
  53. // JSON config support. Choose only one from the two below.
  54. // The following line loads JSON from v2ctl
  55. // _ "github.com/v2fly/v2ray-core/v4/main/json"
  56. // The following line loads JSON internally
  57. _ "github.com/v2fly/v2ray-core/v4/main/jsonem"
  58. // Load config from file or http(s)
  59. _ "github.com/v2fly/v2ray-core/v4/main/confloader/external"
  60. )