github.com/xtls/xray-core@v1.8.12-0.20240518155711-3168d27b0bdb/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/xtls/xray-core/app/dispatcher" 8 _ "github.com/xtls/xray-core/app/proxyman/inbound" 9 _ "github.com/xtls/xray-core/app/proxyman/outbound" 10 11 // Default commander and all its services. This is an optional feature. 12 _ "github.com/xtls/xray-core/app/commander" 13 _ "github.com/xtls/xray-core/app/log/command" 14 _ "github.com/xtls/xray-core/app/proxyman/command" 15 _ "github.com/xtls/xray-core/app/stats/command" 16 17 // Developer preview services 18 _ "github.com/xtls/xray-core/app/observatory/command" 19 20 // Other optional features. 21 _ "github.com/xtls/xray-core/app/dns" 22 _ "github.com/xtls/xray-core/app/dns/fakedns" 23 _ "github.com/xtls/xray-core/app/log" 24 _ "github.com/xtls/xray-core/app/metrics" 25 _ "github.com/xtls/xray-core/app/policy" 26 _ "github.com/xtls/xray-core/app/reverse" 27 _ "github.com/xtls/xray-core/app/router" 28 _ "github.com/xtls/xray-core/app/stats" 29 30 // Fix dependency cycle caused by core import in internet package 31 _ "github.com/xtls/xray-core/transport/internet/tagged/taggedimpl" 32 33 // Developer preview features 34 _ "github.com/xtls/xray-core/app/observatory" 35 36 // Inbound and outbound proxies. 37 _ "github.com/xtls/xray-core/proxy/blackhole" 38 _ "github.com/xtls/xray-core/proxy/dns" 39 _ "github.com/xtls/xray-core/proxy/dokodemo" 40 _ "github.com/xtls/xray-core/proxy/freedom" 41 _ "github.com/xtls/xray-core/proxy/http" 42 _ "github.com/xtls/xray-core/proxy/loopback" 43 _ "github.com/xtls/xray-core/proxy/shadowsocks" 44 _ "github.com/xtls/xray-core/proxy/socks" 45 _ "github.com/xtls/xray-core/proxy/trojan" 46 _ "github.com/xtls/xray-core/proxy/vless/inbound" 47 _ "github.com/xtls/xray-core/proxy/vless/outbound" 48 _ "github.com/xtls/xray-core/proxy/vmess/inbound" 49 _ "github.com/xtls/xray-core/proxy/vmess/outbound" 50 _ "github.com/xtls/xray-core/proxy/wireguard" 51 52 // Transports 53 _ "github.com/xtls/xray-core/transport/internet/domainsocket" 54 _ "github.com/xtls/xray-core/transport/internet/grpc" 55 _ "github.com/xtls/xray-core/transport/internet/http" 56 _ "github.com/xtls/xray-core/transport/internet/httpupgrade" 57 _ "github.com/xtls/xray-core/transport/internet/kcp" 58 _ "github.com/xtls/xray-core/transport/internet/quic" 59 _ "github.com/xtls/xray-core/transport/internet/reality" 60 _ "github.com/xtls/xray-core/transport/internet/tcp" 61 _ "github.com/xtls/xray-core/transport/internet/tls" 62 _ "github.com/xtls/xray-core/transport/internet/udp" 63 _ "github.com/xtls/xray-core/transport/internet/websocket" 64 65 // Transport headers 66 _ "github.com/xtls/xray-core/transport/internet/headers/http" 67 _ "github.com/xtls/xray-core/transport/internet/headers/noop" 68 _ "github.com/xtls/xray-core/transport/internet/headers/srtp" 69 _ "github.com/xtls/xray-core/transport/internet/headers/tls" 70 _ "github.com/xtls/xray-core/transport/internet/headers/utp" 71 _ "github.com/xtls/xray-core/transport/internet/headers/wechat" 72 _ "github.com/xtls/xray-core/transport/internet/headers/wireguard" 73 74 // JSON & TOML & YAML 75 _ "github.com/xtls/xray-core/main/json" 76 _ "github.com/xtls/xray-core/main/toml" 77 _ "github.com/xtls/xray-core/main/yaml" 78 79 // Load config from file or http(s) 80 _ "github.com/xtls/xray-core/main/confloader/external" 81 82 // Commands 83 _ "github.com/xtls/xray-core/main/commands/all" 84 )