all.go 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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/instman/command"
  15. _ "github.com/v2fly/v2ray-core/v4/app/observatory/command"
  16. // Other optional features.
  17. _ "github.com/v2fly/v2ray-core/v4/app/dns"
  18. _ "github.com/v2fly/v2ray-core/v4/app/dns/fakedns"
  19. _ "github.com/v2fly/v2ray-core/v4/app/log"
  20. _ "github.com/v2fly/v2ray-core/v4/app/policy"
  21. _ "github.com/v2fly/v2ray-core/v4/app/reverse"
  22. _ "github.com/v2fly/v2ray-core/v4/app/router"
  23. _ "github.com/v2fly/v2ray-core/v4/app/stats"
  24. // Fix dependency cycle caused by core import in internet package
  25. _ "github.com/v2fly/v2ray-core/v4/transport/internet/tagged/taggedimpl"
  26. // Developer preview features
  27. _ "github.com/v2fly/v2ray-core/v4/app/instman"
  28. _ "github.com/v2fly/v2ray-core/v4/app/observatory"
  29. // Inbound and outbound proxies.
  30. _ "github.com/v2fly/v2ray-core/v4/proxy/blackhole"
  31. _ "github.com/v2fly/v2ray-core/v4/proxy/dns"
  32. _ "github.com/v2fly/v2ray-core/v4/proxy/dokodemo"
  33. _ "github.com/v2fly/v2ray-core/v4/proxy/freedom"
  34. _ "github.com/v2fly/v2ray-core/v4/proxy/http"
  35. _ "github.com/v2fly/v2ray-core/v4/proxy/shadowsocks"
  36. _ "github.com/v2fly/v2ray-core/v4/proxy/socks"
  37. _ "github.com/v2fly/v2ray-core/v4/proxy/trojan"
  38. _ "github.com/v2fly/v2ray-core/v4/proxy/vless/inbound"
  39. _ "github.com/v2fly/v2ray-core/v4/proxy/vless/outbound"
  40. _ "github.com/v2fly/v2ray-core/v4/proxy/vmess/inbound"
  41. _ "github.com/v2fly/v2ray-core/v4/proxy/vmess/outbound"
  42. // Transports
  43. _ "github.com/v2fly/v2ray-core/v4/transport/internet/domainsocket"
  44. _ "github.com/v2fly/v2ray-core/v4/transport/internet/grpc"
  45. _ "github.com/v2fly/v2ray-core/v4/transport/internet/http"
  46. _ "github.com/v2fly/v2ray-core/v4/transport/internet/kcp"
  47. _ "github.com/v2fly/v2ray-core/v4/transport/internet/quic"
  48. _ "github.com/v2fly/v2ray-core/v4/transport/internet/tcp"
  49. _ "github.com/v2fly/v2ray-core/v4/transport/internet/tls"
  50. _ "github.com/v2fly/v2ray-core/v4/transport/internet/udp"
  51. _ "github.com/v2fly/v2ray-core/v4/transport/internet/websocket"
  52. // Transport headers
  53. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/http"
  54. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/noop"
  55. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/srtp"
  56. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/tls"
  57. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/utp"
  58. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/wechat"
  59. _ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/wireguard"
  60. // Geo loaders
  61. _ "github.com/v2fly/v2ray-core/v4/infra/conf/geodata/memconservative"
  62. _ "github.com/v2fly/v2ray-core/v4/infra/conf/geodata/standard"
  63. // JSON, TOML, YAML config support. (jsonv4) This disable selective compile
  64. _ "github.com/v2fly/v2ray-core/v4/main/formats"
  65. // commands
  66. _ "github.com/v2fly/v2ray-core/v4/main/commands/all"
  67. //engineering commands
  68. _ "github.com/v2fly/v2ray-core/v4/main/commands/all/engineering"
  69. // Commands that rely on jsonv4 format This disable selective compile
  70. _ "github.com/v2fly/v2ray-core/v4/main/commands/all/api/jsonv4"
  71. _ "github.com/v2fly/v2ray-core/v4/main/commands/all/jsonv4"
  72. // V5 version of json configure file parser
  73. _ "github.com/v2fly/v2ray-core/v4/infra/conf/v5cfg"
  74. _ "github.com/v2fly/v2ray-core/v4/proxy/socks/simplified"
  75. )