all.go 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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. // Inbound and outbound proxies.
  31. _ "github.com/v2fly/v2ray-core/v5/proxy/blackhole"
  32. _ "github.com/v2fly/v2ray-core/v5/proxy/dns"
  33. _ "github.com/v2fly/v2ray-core/v5/proxy/dokodemo"
  34. _ "github.com/v2fly/v2ray-core/v5/proxy/freedom"
  35. _ "github.com/v2fly/v2ray-core/v5/proxy/http"
  36. _ "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks"
  37. _ "github.com/v2fly/v2ray-core/v5/proxy/socks"
  38. _ "github.com/v2fly/v2ray-core/v5/proxy/trojan"
  39. _ "github.com/v2fly/v2ray-core/v5/proxy/vless/inbound"
  40. _ "github.com/v2fly/v2ray-core/v5/proxy/vless/outbound"
  41. _ "github.com/v2fly/v2ray-core/v5/proxy/vmess/inbound"
  42. _ "github.com/v2fly/v2ray-core/v5/proxy/vmess/outbound"
  43. // Developer preview proxies
  44. _ "github.com/v2fly/v2ray-core/v5/proxy/vlite/inbound"
  45. _ "github.com/v2fly/v2ray-core/v5/proxy/vlite/outbound"
  46. // Transports
  47. _ "github.com/v2fly/v2ray-core/v5/transport/internet/domainsocket"
  48. _ "github.com/v2fly/v2ray-core/v5/transport/internet/grpc"
  49. _ "github.com/v2fly/v2ray-core/v5/transport/internet/http"
  50. _ "github.com/v2fly/v2ray-core/v5/transport/internet/kcp"
  51. _ "github.com/v2fly/v2ray-core/v5/transport/internet/quic"
  52. _ "github.com/v2fly/v2ray-core/v5/transport/internet/tcp"
  53. _ "github.com/v2fly/v2ray-core/v5/transport/internet/tls"
  54. _ "github.com/v2fly/v2ray-core/v5/transport/internet/tls/utls"
  55. _ "github.com/v2fly/v2ray-core/v5/transport/internet/udp"
  56. _ "github.com/v2fly/v2ray-core/v5/transport/internet/websocket"
  57. // Developer preview transports
  58. _ "github.com/v2fly/v2ray-core/v5/transport/internet/request/assembly"
  59. _ "github.com/v2fly/v2ray-core/v5/transport/internet/request/assembler/simple"
  60. _ "github.com/v2fly/v2ray-core/v5/transport/internet/request/roundtripper/httprt"
  61. _ "github.com/v2fly/v2ray-core/v5/transport/internet/request/stereotype/meek"
  62. // Transport headers
  63. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/http"
  64. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/noop"
  65. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/srtp"
  66. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/tls"
  67. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/utp"
  68. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/wechat"
  69. _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/wireguard"
  70. // Geo loaders
  71. _ "github.com/v2fly/v2ray-core/v5/infra/conf/geodata/memconservative"
  72. _ "github.com/v2fly/v2ray-core/v5/infra/conf/geodata/standard"
  73. // JSON, TOML, YAML config support. (jsonv4) This disable selective compile
  74. _ "github.com/v2fly/v2ray-core/v5/main/formats"
  75. // commands
  76. _ "github.com/v2fly/v2ray-core/v5/main/commands/all"
  77. // engineering commands
  78. _ "github.com/v2fly/v2ray-core/v5/main/commands/all/engineering"
  79. // Commands that rely on jsonv4 format This disable selective compile
  80. _ "github.com/v2fly/v2ray-core/v5/main/commands/all/api/jsonv4"
  81. _ "github.com/v2fly/v2ray-core/v5/main/commands/all/jsonv4"
  82. // V5 version of json configure file parser
  83. _ "github.com/v2fly/v2ray-core/v5/infra/conf/v5cfg"
  84. // Simplified config
  85. _ "github.com/v2fly/v2ray-core/v5/proxy/http/simplified"
  86. _ "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks/simplified"
  87. _ "github.com/v2fly/v2ray-core/v5/proxy/socks/simplified"
  88. _ "github.com/v2fly/v2ray-core/v5/proxy/trojan/simplified"
  89. )