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