all.go 4.7 KB

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