2016-12-16 17:38:58 -05:00
|
|
|
package all
|
|
|
|
|
|
|
|
import (
|
|
|
|
// The following are necessary as they register handlers in their init functions.
|
2018-02-11 17:28:42 -05:00
|
|
|
|
2021-04-13 22:09:52 -04:00
|
|
|
// Mandatory features. Can't remove unless there are replacements.
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/dispatcher"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/proxyman/inbound"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/proxyman/outbound"
|
2018-02-11 17:28:42 -05:00
|
|
|
|
2018-03-31 04:30:12 -04:00
|
|
|
// Default commander and all its services. This is an optional feature.
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/commander"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/log/command"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/proxyman/command"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/stats/command"
|
2018-02-11 17:28:42 -05:00
|
|
|
|
2021-03-06 14:09:26 -05:00
|
|
|
// Developer preview services
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/instman/command"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/observatory/command"
|
2021-03-06 14:09:26 -05:00
|
|
|
|
2018-02-11 17:28:42 -05:00
|
|
|
// Other optional features.
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/dns"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/dns/fakedns"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/log"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/policy"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/reverse"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/router"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/stats"
|
2016-12-16 17:38:58 -05:00
|
|
|
|
2021-03-13 18:44:47 -05:00
|
|
|
// Fix dependency cycle caused by core import in internet package
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/tagged/taggedimpl"
|
2021-02-28 14:10:38 -05:00
|
|
|
|
2021-03-06 12:48:39 -05:00
|
|
|
// Developer preview features
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/instman"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/observatory"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/app/restfulapi"
|
2021-03-06 12:48:39 -05:00
|
|
|
|
2018-02-11 17:28:42 -05:00
|
|
|
// Inbound and outbound proxies.
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/blackhole"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/dns"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/dokodemo"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/freedom"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/http"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/socks"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/trojan"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/vless/inbound"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/vless/outbound"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/vmess/inbound"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/vmess/outbound"
|
2016-12-16 17:38:58 -05:00
|
|
|
|
2018-02-11 17:28:42 -05:00
|
|
|
// Transports
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/domainsocket"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/grpc"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/http"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/kcp"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/quic"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/tcp"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/tls"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/udp"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/websocket"
|
2016-12-16 17:38:58 -05:00
|
|
|
|
2018-02-11 17:28:42 -05:00
|
|
|
// Transport headers
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/http"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/noop"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/srtp"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/tls"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/utp"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/wechat"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/transport/internet/headers/wireguard"
|
2018-02-17 15:22:51 -05:00
|
|
|
|
2021-05-03 22:15:11 -04:00
|
|
|
// Geo loaders
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/infra/conf/geodata/memconservative"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/infra/conf/geodata/standard"
|
2021-05-03 22:15:11 -04:00
|
|
|
|
2021-05-02 16:40:35 -04:00
|
|
|
// JSON, TOML, YAML config support. (jsonv4) This disable selective compile
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/main/formats"
|
2020-11-23 10:38:43 -05:00
|
|
|
|
|
|
|
// commands
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/main/commands/all"
|
2021-05-02 16:40:35 -04:00
|
|
|
|
2021-11-27 01:32:07 -05:00
|
|
|
// engineering commands
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/main/commands/all/engineering"
|
2021-06-19 18:50:12 -04:00
|
|
|
|
2021-05-02 16:40:35 -04:00
|
|
|
// Commands that rely on jsonv4 format This disable selective compile
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/main/commands/all/api/jsonv4"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/main/commands/all/jsonv4"
|
2021-09-04 14:58:03 -04:00
|
|
|
|
|
|
|
// V5 version of json configure file parser
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/infra/conf/v5cfg"
|
2021-09-04 19:44:29 -04:00
|
|
|
|
2021-11-27 04:16:41 -05:00
|
|
|
// Simplified config
|
2022-01-02 10:16:23 -05:00
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/http/simplified"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/shadowsocks/simplified"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/socks/simplified"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v5/proxy/trojan/simplified"
|
2016-12-16 17:38:58 -05:00
|
|
|
)
|