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