github.com/v2fly/v2ray-core/v5@v5.16.2-0.20240507031116-8191faa6e095/main/distro/all/all.go (about) 1 package all 2 3 import ( 4 // The following are necessary as they register handlers in their init functions. 5 6 // Mandatory features. Can't remove unless there are replacements. 7 _ "github.com/v2fly/v2ray-core/v5/app/dispatcher" 8 _ "github.com/v2fly/v2ray-core/v5/app/proxyman/inbound" 9 _ "github.com/v2fly/v2ray-core/v5/app/proxyman/outbound" 10 11 // Default commander and all its services. This is an optional feature. 12 _ "github.com/v2fly/v2ray-core/v5/app/commander" 13 _ "github.com/v2fly/v2ray-core/v5/app/log/command" 14 _ "github.com/v2fly/v2ray-core/v5/app/proxyman/command" 15 _ "github.com/v2fly/v2ray-core/v5/app/stats/command" 16 17 // Developer preview services 18 _ "github.com/v2fly/v2ray-core/v5/app/instman/command" 19 _ "github.com/v2fly/v2ray-core/v5/app/observatory/command" 20 21 // Other optional features. 22 _ "github.com/v2fly/v2ray-core/v5/app/dns" 23 _ "github.com/v2fly/v2ray-core/v5/app/dns/fakedns" 24 _ "github.com/v2fly/v2ray-core/v5/app/log" 25 _ "github.com/v2fly/v2ray-core/v5/app/policy" 26 _ "github.com/v2fly/v2ray-core/v5/app/reverse" 27 _ "github.com/v2fly/v2ray-core/v5/app/router" 28 _ "github.com/v2fly/v2ray-core/v5/app/stats" 29 30 // Fix dependency cycle caused by core import in internet package 31 _ "github.com/v2fly/v2ray-core/v5/transport/internet/tagged/taggedimpl" 32 33 // Developer preview features 34 _ "github.com/v2fly/v2ray-core/v5/app/instman" 35 _ "github.com/v2fly/v2ray-core/v5/app/observatory" 36 _ "github.com/v2fly/v2ray-core/v5/app/restfulapi" 37 _ "github.com/v2fly/v2ray-core/v5/app/tun" 38 39 // Inbound and outbound proxies. 40 _ "github.com/v2fly/v2ray-core/v5/proxy/blackhole" 41 _ "github.com/v2fly/v2ray-core/v5/proxy/dns" 42 _ "github.com/v2fly/v2ray-core/v5/proxy/dokodemo" 43 _ "github.com/v2fly/v2ray-core/v5/proxy/freedom" 44 _ "github.com/v2fly/v2ray-core/v5/proxy/http" 45 _ "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks" 46 _ "github.com/v2fly/v2ray-core/v5/proxy/socks" 47 _ "github.com/v2fly/v2ray-core/v5/proxy/trojan" 48 _ "github.com/v2fly/v2ray-core/v5/proxy/vless/inbound" 49 _ "github.com/v2fly/v2ray-core/v5/proxy/vless/outbound" 50 _ "github.com/v2fly/v2ray-core/v5/proxy/vmess/inbound" 51 _ "github.com/v2fly/v2ray-core/v5/proxy/vmess/outbound" 52 53 // Developer preview proxies 54 _ "github.com/v2fly/v2ray-core/v5/proxy/vlite/inbound" 55 _ "github.com/v2fly/v2ray-core/v5/proxy/vlite/outbound" 56 57 _ "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks2022" 58 59 // Transports 60 _ "github.com/v2fly/v2ray-core/v5/transport/internet/domainsocket" 61 _ "github.com/v2fly/v2ray-core/v5/transport/internet/grpc" 62 _ "github.com/v2fly/v2ray-core/v5/transport/internet/http" 63 _ "github.com/v2fly/v2ray-core/v5/transport/internet/kcp" 64 _ "github.com/v2fly/v2ray-core/v5/transport/internet/quic" 65 _ "github.com/v2fly/v2ray-core/v5/transport/internet/tcp" 66 _ "github.com/v2fly/v2ray-core/v5/transport/internet/tls" 67 _ "github.com/v2fly/v2ray-core/v5/transport/internet/tls/utls" 68 _ "github.com/v2fly/v2ray-core/v5/transport/internet/udp" 69 _ "github.com/v2fly/v2ray-core/v5/transport/internet/websocket" 70 71 // Developer preview transports 72 _ "github.com/v2fly/v2ray-core/v5/transport/internet/request/assembly" 73 74 _ "github.com/v2fly/v2ray-core/v5/transport/internet/request/assembler/simple" 75 _ "github.com/v2fly/v2ray-core/v5/transport/internet/request/roundtripper/httprt" 76 77 _ "github.com/v2fly/v2ray-core/v5/transport/internet/request/stereotype/meek" 78 79 _ "github.com/v2fly/v2ray-core/v5/transport/internet/httpupgrade" 80 81 // Transport headers 82 _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/http" 83 _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/noop" 84 _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/srtp" 85 _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/tls" 86 _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/utp" 87 _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/wechat" 88 _ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/wireguard" 89 90 // Geo loaders 91 _ "github.com/v2fly/v2ray-core/v5/infra/conf/geodata/memconservative" 92 _ "github.com/v2fly/v2ray-core/v5/infra/conf/geodata/standard" 93 94 // JSON, TOML, YAML config support. (jsonv4) This disable selective compile 95 _ "github.com/v2fly/v2ray-core/v5/main/formats" 96 97 // commands 98 _ "github.com/v2fly/v2ray-core/v5/main/commands/all" 99 100 // engineering commands 101 _ "github.com/v2fly/v2ray-core/v5/main/commands/all/engineering" 102 103 // Commands that rely on jsonv4 format This disable selective compile 104 _ "github.com/v2fly/v2ray-core/v5/main/commands/all/api/jsonv4" 105 _ "github.com/v2fly/v2ray-core/v5/main/commands/all/jsonv4" 106 107 // V5 version of json configure file parser 108 _ "github.com/v2fly/v2ray-core/v5/infra/conf/v5cfg" 109 110 // Simplified config 111 _ "github.com/v2fly/v2ray-core/v5/proxy/http/simplified" 112 _ "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks/simplified" 113 _ "github.com/v2fly/v2ray-core/v5/proxy/socks/simplified" 114 _ "github.com/v2fly/v2ray-core/v5/proxy/trojan/simplified" 115 116 // Subscription Supports 117 _ "github.com/v2fly/v2ray-core/v5/app/subscription/subscriptionmanager" 118 119 // Subscription Containers: general purpose 120 _ "github.com/v2fly/v2ray-core/v5/app/subscription/containers/base64urlline" 121 _ "github.com/v2fly/v2ray-core/v5/app/subscription/containers/dataurlsingle" 122 _ "github.com/v2fly/v2ray-core/v5/app/subscription/containers/jsonfieldarray" 123 _ "github.com/v2fly/v2ray-core/v5/app/subscription/containers/jsonfieldarray/jsonified" 124 125 // Subscription Fetchers 126 _ "github.com/v2fly/v2ray-core/v5/app/subscription/documentfetcher/dataurlfetcher" 127 _ "github.com/v2fly/v2ray-core/v5/app/subscription/documentfetcher/httpfetcher" 128 129 // Subscription Entries Converters 130 _ "github.com/v2fly/v2ray-core/v5/app/subscription/entries/nonnative" 131 _ "github.com/v2fly/v2ray-core/v5/app/subscription/entries/outbound" // Natively Supported Outbound Format 132 )