all.go 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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/v5/app/dispatcher"
  6. _ "github.com/v2fly/v2ray-core/v5/app/proxyman/inbound"
  7. _ "github.com/v2fly/v2ray-core/v5/app/proxyman/outbound"
  8. // Default commander and all its services. This is an optional feature.
  9. _ "github.com/v2fly/v2ray-core/v5/app/commander"
  10. _ "github.com/v2fly/v2ray-core/v5/app/log/command"
  11. _ "github.com/v2fly/v2ray-core/v5/app/proxyman/command"
  12. _ "github.com/v2fly/v2ray-core/v5/app/stats/command"
  13. // Developer preview services
  14. _ "github.com/v2fly/v2ray-core/v5/app/instman/command"
  15. _ "github.com/v2fly/v2ray-core/v5/app/observatory/command"
  16. // Other optional features.
  17. _ "github.com/v2fly/v2ray-core/v5/app/dns"
  18. _ "github.com/v2fly/v2ray-core/v5/app/dns/fakedns"
  19. _ "github.com/v2fly/v2ray-core/v5/app/log"
  20. _ "github.com/v2fly/v2ray-core/v5/app/policy"
  21. _ "github.com/v2fly/v2ray-core/v5/app/reverse"
  22. _ "github.com/v2fly/v2ray-core/v5/app/router"
  23. _ "github.com/v2fly/v2ray-core/v5/app/stats"
  24. // Fix dependency cycle caused by core import in internet package
  25. _ "github.com/v2fly/v2ray-core/v5/transport/internet/tagged/taggedimpl"
  26. // Developer preview features
  27. _ "github.com/v2fly/v2ray-core/v5/app/instman"
  28. _ "github.com/v2fly/v2ray-core/v5/app/observatory"
  29. _ "github.com/v2fly/v2ray-core/v5/app/restfulapi"
  30. _ "github.com/v2fly/v2ray-core/v5/app/tun"
  31. // Inbound and outbound proxies.
  32. _ "github.com/v2fly/v2ray-core/v5/proxy/blackhole"
  33. _ "github.com/v2fly/v2ray-core/v5/proxy/dns"
  34. _ "github.com/v2fly/v2ray-core/v5/proxy/dokodemo"
  35. _ "github.com/v2fly/v2ray-core/v5/proxy/freedom"
  36. _ "github.com/v2fly/v2ray-core/v5/proxy/http"
  37. _ "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks"
  38. _ "github.com/v2fly/v2ray-core/v5/proxy/socks"
  39. _ "github.com/v2fly/v2ray-core/v5/proxy/trojan"
  40. _ "github.com/v2fly/v2ray-core/v5/proxy/vless/inbound"
  41. _ "github.com/v2fly/v2ray-core/v5/proxy/vless/outbound"
  42. _ "github.com/v2fly/v2ray-core/v5/proxy/vmess/inbound"
  43. _ "github.com/v2fly/v2ray-core/v5/proxy/vmess/outbound"
  44. // Developer preview proxies
  45. _ "github.com/v2fly/v2ray-core/v5/proxy/vlite/inbound"
  46. _ "github.com/v2fly/v2ray-core/v5/proxy/vlite/outbound"
  47. _ "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks2022"
  48. // Transports
  49. _ "github.com/v2fly/v2ray-core/v5/transport/internet/domainsocket"
  50. _ "github.com/v2fly/v2ray-core/v5/transport/internet/grpc"
  51. _ "github.com/v2fly/v2ray-core/v5/transport/internet/http"
  52. _ "github.com/v2fly/v2ray-core/v5/transport/internet/kcp"
  53. _ "github.com/v2fly/v2ray-core/v5/transport/internet/quic"
  54. _ "github.com/v2fly/v2ray-core/v5/transport/internet/tcp"
  55. _ "github.com/v2fly/v2ray-core/v5/transport/internet/tls"
  56. _ "github.com/v2fly/v2ray-core/v5/transport/internet/tls/utls"
  57. _ "github.com/v2fly/v2ray-core/v5/transport/internet/udp"
  58. _ "github.com/v2fly/v2ray-core/v5/transport/internet/websocket"
  59. // Developer preview transports
  60. _ "github.com/v2fly/v2ray-core/v5/transport/internet/request/assembly"
  61. _ "github.com/v2fly/v2ray-core/v5/transport/internet/request/assembler/simple"
  62. _ "github.com/v2fly/v2ray-core/v5/transport/internet/request/roundtripper/httprt"
  63. _ "github.com/v2fly/v2ray-core/v5/transport/internet/request/stereotype/meek"
  64. _ "github.com/v2fly/v2ray-core/v5/transport/internet/httpupgrade"
  65. // Transport headers
  66. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/http"
  67. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/noop"
  68. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/srtp"
  69. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/tls"
  70. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/utp"
  71. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/wechat"
  72. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/wireguard"
  73. // Geo loaders
  74. _ "github.com/v2fly/v2ray-core/v5/infra/conf/geodata/memconservative"
  75. _ "github.com/v2fly/v2ray-core/v5/infra/conf/geodata/standard"
  76. // JSON, TOML, YAML config support. (jsonv4) This disable selective compile
  77. _ "github.com/v2fly/v2ray-core/v5/main/formats"
  78. // commands
  79. _ "github.com/v2fly/v2ray-core/v5/main/commands/all"
  80. // engineering commands
  81. _ "github.com/v2fly/v2ray-core/v5/main/commands/all/engineering"
  82. // Commands that rely on jsonv4 format This disable selective compile
  83. _ "github.com/v2fly/v2ray-core/v5/main/commands/all/api/jsonv4"
  84. _ "github.com/v2fly/v2ray-core/v5/main/commands/all/jsonv4"
  85. // V5 version of json configure file parser
  86. _ "github.com/v2fly/v2ray-core/v5/infra/conf/v5cfg"
  87. // Simplified config
  88. _ "github.com/v2fly/v2ray-core/v5/proxy/http/simplified"
  89. _ "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks/simplified"
  90. _ "github.com/v2fly/v2ray-core/v5/proxy/socks/simplified"
  91. _ "github.com/v2fly/v2ray-core/v5/proxy/trojan/simplified"
  92. // Subscription Supports
  93. _ "github.com/v2fly/v2ray-core/v5/app/subscription/subscriptionmanager"
  94. // Subscription Containers: general purpose
  95. _ "github.com/v2fly/v2ray-core/v5/app/subscription/containers/base64urlline"
  96. _ "github.com/v2fly/v2ray-core/v5/app/subscription/containers/dataurlsingle"
  97. _ "github.com/v2fly/v2ray-core/v5/app/subscription/containers/jsonfieldarray"
  98. _ "github.com/v2fly/v2ray-core/v5/app/subscription/containers/jsonfieldarray/jsonified"
  99. // Subscription Fetchers
  100. _ "github.com/v2fly/v2ray-core/v5/app/subscription/documentfetcher/dataurlfetcher"
  101. _ "github.com/v2fly/v2ray-core/v5/app/subscription/documentfetcher/httpfetcher"
  102. // Subscription Entries Converters
  103. _ "github.com/v2fly/v2ray-core/v5/app/subscription/entries/nonnative"
  104. _ "github.com/v2fly/v2ray-core/v5/app/subscription/entries/outbound" // Natively Supported Outbound Format
  105. )