2016-12-16 22:38:58 +00:00
|
|
|
package all
|
|
|
|
|
|
|
|
import (
|
|
|
|
// The following are necessary as they register handlers in their init functions.
|
2018-02-11 22:28:42 +00:00
|
|
|
|
2021-04-14 02:09:52 +00:00
|
|
|
// Mandatory features. Can't remove unless there are replacements.
|
2021-02-16 20:31:50 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/dispatcher"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/proxyman/inbound"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/proxyman/outbound"
|
2018-02-11 22:28:42 +00:00
|
|
|
|
2018-03-31 08:30:12 +00:00
|
|
|
// Default commander and all its services. This is an optional feature.
|
2021-02-16 20:31:50 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/commander"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/log/command"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/proxyman/command"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/stats/command"
|
2018-02-11 22:28:42 +00:00
|
|
|
|
2021-03-06 19:09:26 +00:00
|
|
|
// Developer preview services
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/observatory/command"
|
|
|
|
|
2018-02-11 22:28:42 +00:00
|
|
|
// Other optional features.
|
2021-02-16 20:31:50 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/dns"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/dns/fakedns"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/log"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/policy"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/reverse"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/router"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/stats"
|
2016-12-16 22:38:58 +00:00
|
|
|
|
2021-03-13 23:44:47 +00:00
|
|
|
// Fix dependency cycle caused by core import in internet package
|
2021-02-28 19:10:38 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/tagged/taggedimpl"
|
|
|
|
|
2021-03-06 17:48:39 +00:00
|
|
|
// Developer preview features
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/app/observatory"
|
|
|
|
|
2018-02-11 22:28:42 +00:00
|
|
|
// Inbound and outbound proxies.
|
2021-02-16 20:31:50 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/blackhole"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/dns"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/dokodemo"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/freedom"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/http"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/mtproto"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/shadowsocks"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/socks"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/trojan"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/vless/inbound"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/vless/outbound"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/vmess/inbound"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/proxy/vmess/outbound"
|
2016-12-16 22:38:58 +00:00
|
|
|
|
2018-02-11 22:28:42 +00:00
|
|
|
// Transports
|
2021-02-16 20:31:50 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/domainsocket"
|
2021-03-11 08:46:17 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/grpc"
|
2021-02-16 20:31:50 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/http"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/kcp"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/quic"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/tcp"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/tls"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/udp"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/websocket"
|
2016-12-16 22:38:58 +00:00
|
|
|
|
2018-02-11 22:28:42 +00:00
|
|
|
// Transport headers
|
2021-02-16 20:31:50 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/http"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/noop"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/srtp"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/tls"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/utp"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/wechat"
|
|
|
|
_ "github.com/v2fly/v2ray-core/v4/transport/internet/headers/wireguard"
|
2018-02-17 20:22:51 +00:00
|
|
|
|
2021-05-04 02:15:11 +00:00
|
|
|
// Geo loaders
|
2021-05-04 10:19:58 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/infra/conf/geodata/memconservative"
|
2021-05-04 02:15:11 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/infra/conf/geodata/standard"
|
|
|
|
|
2018-04-22 20:54:27 +00:00
|
|
|
// JSON config support. Choose only one from the two below.
|
|
|
|
// The following line loads JSON from v2ctl
|
2021-02-16 20:31:50 +00:00
|
|
|
// _ "github.com/v2fly/v2ray-core/v4/main/json"
|
2018-04-22 20:54:27 +00:00
|
|
|
// The following line loads JSON internally
|
2021-02-16 20:31:50 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/main/jsonem"
|
2018-04-09 09:43:13 +00:00
|
|
|
|
|
|
|
// Load config from file or http(s)
|
2021-02-16 20:31:50 +00:00
|
|
|
_ "github.com/v2fly/v2ray-core/v4/main/confloader/external"
|
2016-12-16 22:38:58 +00:00
|
|
|
)
|