2020-11-25 11:01:53 +00:00
|
|
|
package all
|
|
|
|
|
|
|
|
import (
|
|
|
|
// The following are necessary as they register handlers in their init functions.
|
|
|
|
|
2021-09-30 12:50:46 +00:00
|
|
|
// Mandatory features. Can't remove unless there are replacements.
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/app/dispatcher"
|
|
|
|
_ "github.com/xtls/xray-core/app/proxyman/inbound"
|
|
|
|
_ "github.com/xtls/xray-core/app/proxyman/outbound"
|
2020-11-25 11:01:53 +00:00
|
|
|
|
|
|
|
// Default commander and all its services. This is an optional feature.
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/app/commander"
|
|
|
|
_ "github.com/xtls/xray-core/app/log/command"
|
|
|
|
_ "github.com/xtls/xray-core/app/proxyman/command"
|
|
|
|
_ "github.com/xtls/xray-core/app/stats/command"
|
2020-11-25 11:01:53 +00:00
|
|
|
|
2021-10-26 05:00:31 +00:00
|
|
|
// Developer preview services
|
|
|
|
_ "github.com/xtls/xray-core/app/observatory/command"
|
|
|
|
|
2020-11-25 11:01:53 +00:00
|
|
|
// Other optional features.
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/app/dns"
|
2021-03-07 04:39:50 +00:00
|
|
|
_ "github.com/xtls/xray-core/app/dns/fakedns"
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/app/log"
|
2022-03-25 03:24:23 +00:00
|
|
|
_ "github.com/xtls/xray-core/app/metrics"
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/app/policy"
|
|
|
|
_ "github.com/xtls/xray-core/app/reverse"
|
|
|
|
_ "github.com/xtls/xray-core/app/router"
|
|
|
|
_ "github.com/xtls/xray-core/app/stats"
|
2020-11-25 11:01:53 +00:00
|
|
|
|
2021-04-08 21:20:30 +00:00
|
|
|
// Fix dependency cycle caused by core import in internet package
|
|
|
|
_ "github.com/xtls/xray-core/transport/internet/tagged/taggedimpl"
|
|
|
|
|
2021-10-26 05:00:31 +00:00
|
|
|
// Developer preview features
|
|
|
|
_ "github.com/xtls/xray-core/app/observatory"
|
|
|
|
|
2020-11-25 11:01:53 +00:00
|
|
|
// Inbound and outbound proxies.
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/proxy/blackhole"
|
|
|
|
_ "github.com/xtls/xray-core/proxy/dns"
|
|
|
|
_ "github.com/xtls/xray-core/proxy/dokodemo"
|
|
|
|
_ "github.com/xtls/xray-core/proxy/freedom"
|
|
|
|
_ "github.com/xtls/xray-core/proxy/http"
|
2021-09-19 12:28:38 +00:00
|
|
|
_ "github.com/xtls/xray-core/proxy/loopback"
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/proxy/shadowsocks"
|
|
|
|
_ "github.com/xtls/xray-core/proxy/socks"
|
|
|
|
_ "github.com/xtls/xray-core/proxy/trojan"
|
|
|
|
_ "github.com/xtls/xray-core/proxy/vless/inbound"
|
|
|
|
_ "github.com/xtls/xray-core/proxy/vless/outbound"
|
|
|
|
_ "github.com/xtls/xray-core/proxy/vmess/inbound"
|
|
|
|
_ "github.com/xtls/xray-core/proxy/vmess/outbound"
|
2022-11-22 01:05:54 +00:00
|
|
|
_ "github.com/xtls/xray-core/proxy/wireguard"
|
2020-11-25 11:01:53 +00:00
|
|
|
|
|
|
|
// Transports
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/transport/internet/domainsocket"
|
2021-03-14 15:02:07 +00:00
|
|
|
_ "github.com/xtls/xray-core/transport/internet/grpc"
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/transport/internet/http"
|
2024-03-03 05:12:38 +00:00
|
|
|
_ "github.com/xtls/xray-core/transport/internet/httpupgrade"
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/transport/internet/kcp"
|
|
|
|
_ "github.com/xtls/xray-core/transport/internet/quic"
|
2023-02-15 16:07:12 +00:00
|
|
|
_ "github.com/xtls/xray-core/transport/internet/reality"
|
2024-06-18 05:36:36 +00:00
|
|
|
_ "github.com/xtls/xray-core/transport/internet/splithttp"
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/transport/internet/tcp"
|
|
|
|
_ "github.com/xtls/xray-core/transport/internet/tls"
|
|
|
|
_ "github.com/xtls/xray-core/transport/internet/udp"
|
|
|
|
_ "github.com/xtls/xray-core/transport/internet/websocket"
|
2020-11-25 11:01:53 +00:00
|
|
|
|
|
|
|
// Transport headers
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/transport/internet/headers/http"
|
|
|
|
_ "github.com/xtls/xray-core/transport/internet/headers/noop"
|
|
|
|
_ "github.com/xtls/xray-core/transport/internet/headers/srtp"
|
|
|
|
_ "github.com/xtls/xray-core/transport/internet/headers/tls"
|
|
|
|
_ "github.com/xtls/xray-core/transport/internet/headers/utp"
|
|
|
|
_ "github.com/xtls/xray-core/transport/internet/headers/wechat"
|
|
|
|
_ "github.com/xtls/xray-core/transport/internet/headers/wireguard"
|
2020-11-25 11:01:53 +00:00
|
|
|
|
2020-12-25 10:53:17 +00:00
|
|
|
// JSON & TOML & YAML
|
|
|
|
_ "github.com/xtls/xray-core/main/json"
|
2020-12-24 19:11:32 +00:00
|
|
|
_ "github.com/xtls/xray-core/main/toml"
|
2020-12-25 10:53:17 +00:00
|
|
|
_ "github.com/xtls/xray-core/main/yaml"
|
2020-12-24 19:11:32 +00:00
|
|
|
|
2020-11-25 11:01:53 +00:00
|
|
|
// Load config from file or http(s)
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/main/confloader/external"
|
2020-11-25 11:01:53 +00:00
|
|
|
|
2020-12-25 10:53:17 +00:00
|
|
|
// Commands
|
2020-12-04 01:36:16 +00:00
|
|
|
_ "github.com/xtls/xray-core/main/commands/all"
|
2020-11-25 11:01:53 +00:00
|
|
|
)
|