all.go 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. package all
  2. import (
  3. // The following are necessary as they register handlers in their init functions.
  4. // Mandatory features. Can't remove unless there are 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. // Developer preview services
  14. _ "github.com/v2fly/v2ray-core/v4/app/observatory/command"
  15. // Other optional features.
  16. _ "github.com/v2fly/v2ray-core/v4/app/dns"
  17. _ "github.com/v2fly/v2ray-core/v4/app/dns/fakedns"
  18. _ "github.com/v2fly/v2ray-core/v4/app/log"
  19. _ "github.com/v2fly/v2ray-core/v4/app/policy"
  20. _ "github.com/v2fly/v2ray-core/v4/app/reverse"
  21. _ "github.com/v2fly/v2ray-core/v4/app/router"
  22. _ "github.com/v2fly/v2ray-core/v4/app/stats"
  23. // Fix dependency cycle caused by core import in internet package
  24. _ "github.com/v2fly/v2ray-core/v4/transport/internet/tagged/taggedimpl"
  25. // Developer preview features
  26. _ "github.com/v2fly/v2ray-core/v4/app/observatory"
  27. // Inbound and outbound proxies.
  28. _ "github.com/v2fly/v2ray-core/v4/proxy/blackhole"
  29. _ "github.com/v2fly/v2ray-core/v4/proxy/dns"
  30. _ "github.com/v2fly/v2ray-core/v4/proxy/dokodemo"
  31. _ "github.com/v2fly/v2ray-core/v4/proxy/freedom"
  32. _ "github.com/v2fly/v2ray-core/v4/proxy/http"
  33. _ "github.com/v2fly/v2ray-core/v4/proxy/shadowsocks"
  34. _ "github.com/v2fly/v2ray-core/v4/proxy/socks"
  35. _ "github.com/v2fly/v2ray-core/v4/proxy/trojan"
  36. _ "github.com/v2fly/v2ray-core/v4/proxy/vless/inbound"
  37. _ "github.com/v2fly/v2ray-core/v4/proxy/vless/outbound"
  38. _ "github.com/v2fly/v2ray-core/v4/proxy/vmess/inbound"
  39. _ "github.com/v2fly/v2ray-core/v4/proxy/vmess/outbound"
  40. // Transports
  41. _ "github.com/v2fly/v2ray-core/v4/transport/internet/domainsocket"
  42. _ "github.com/v2fly/v2ray-core/v4/transport/internet/grpc"
  43. _ "github.com/v2fly/v2ray-core/v4/transport/internet/http"
  44. _ "github.com/v2fly/v2ray-core/v4/transport/internet/kcp"
  45. _ "github.com/v2fly/v2ray-core/v4/transport/internet/quic"
  46. _ "github.com/v2fly/v2ray-core/v4/transport/internet/tcp"
  47. _ "github.com/v2fly/v2ray-core/v4/transport/internet/tls"
  48. _ "github.com/v2fly/v2ray-core/v4/transport/internet/udp"
  49. _ "github.com/v2fly/v2ray-core/v4/transport/internet/websocket"
  50. // Transport headers
  51. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/http"
  52. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/noop"
  53. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/srtp"
  54. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/tls"
  55. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/utp"
  56. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/wechat"
  57. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/wireguard"
  58. // Geo loaders
  59. _ "github.com/v2fly/v2ray-core/v4/infra/conf/geodata/memconservative"
  60. _ "github.com/v2fly/v2ray-core/v4/infra/conf/geodata/standard"
  61. // JSON, TOML, YAML config support. (jsonv4) This disable selective compile
  62. _ "github.com/v2fly/v2ray-core/v4/main/formats"
  63. // commands
  64. _ "github.com/v2fly/v2ray-core/v4/main/commands/all"
  65. // Commands that rely on jsonv4 format This disable selective compile
  66. _ "github.com/v2fly/v2ray-core/v4/main/commands/all/api/jsonv4"
  67. _ "github.com/v2fly/v2ray-core/v4/main/commands/all/jsonv4"
  68. )