1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
v2fly/main/distro/all/all.go

67 lines
2.2 KiB
Go
Raw Normal View History

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
// Required features. Can't remove unless there is replacements.
_ "v2ray.com/core/app/dispatcher"
2018-02-11 17:28:42 -05:00
_ "v2ray.com/core/app/proxyman/inbound"
_ "v2ray.com/core/app/proxyman/outbound"
2018-03-31 04:30:12 -04:00
// Default commander and all its services. This is an optional feature.
2018-02-11 17:28:42 -05:00
_ "v2ray.com/core/app/commander"
2018-02-14 16:00:15 -05:00
_ "v2ray.com/core/app/log/command"
2018-02-11 17:28:42 -05:00
_ "v2ray.com/core/app/proxyman/command"
2018-03-31 04:30:12 -04:00
_ "v2ray.com/core/app/stats/command"
2018-02-11 17:28:42 -05:00
// Other optional features.
2017-12-19 17:55:09 -05:00
_ "v2ray.com/core/app/dns"
_ "v2ray.com/core/app/log"
_ "v2ray.com/core/app/policy"
2018-10-27 18:03:11 -04:00
_ "v2ray.com/core/app/reverse"
2016-12-16 17:38:58 -05:00
_ "v2ray.com/core/app/router"
2018-03-31 04:30:12 -04:00
_ "v2ray.com/core/app/stats"
2016-12-16 17:38:58 -05:00
2018-02-11 17:28:42 -05:00
// Inbound and outbound proxies.
2016-12-16 17:38:58 -05:00
_ "v2ray.com/core/proxy/blackhole"
2019-02-06 11:06:03 -05:00
_ "v2ray.com/core/proxy/dns"
2016-12-16 17:38:58 -05:00
_ "v2ray.com/core/proxy/dokodemo"
_ "v2ray.com/core/proxy/freedom"
_ "v2ray.com/core/proxy/http"
2018-07-04 11:48:48 -04:00
_ "v2ray.com/core/proxy/mtproto"
2016-12-16 17:38:58 -05:00
_ "v2ray.com/core/proxy/shadowsocks"
_ "v2ray.com/core/proxy/socks"
2020-07-28 11:00:23 -04:00
_ "v2ray.com/core/proxy/vless/inbound"
_ "v2ray.com/core/proxy/vless/outbound"
2016-12-16 17:38:58 -05:00
_ "v2ray.com/core/proxy/vmess/inbound"
_ "v2ray.com/core/proxy/vmess/outbound"
2018-02-11 17:28:42 -05:00
// Transports
2018-04-09 14:45:23 -04:00
_ "v2ray.com/core/transport/internet/domainsocket"
2018-03-01 15:10:45 -05:00
_ "v2ray.com/core/transport/internet/http"
2016-12-16 17:38:58 -05:00
_ "v2ray.com/core/transport/internet/kcp"
2018-11-21 16:03:00 -05:00
_ "v2ray.com/core/transport/internet/quic"
2016-12-16 17:38:58 -05:00
_ "v2ray.com/core/transport/internet/tcp"
_ "v2ray.com/core/transport/internet/tls"
_ "v2ray.com/core/transport/internet/udp"
2016-12-22 18:30:46 -05:00
_ "v2ray.com/core/transport/internet/websocket"
2016-12-16 17:38:58 -05:00
2018-02-11 17:28:42 -05:00
// Transport headers
2016-12-16 17:38:58 -05:00
_ "v2ray.com/core/transport/internet/headers/http"
_ "v2ray.com/core/transport/internet/headers/noop"
_ "v2ray.com/core/transport/internet/headers/srtp"
2018-05-25 11:16:15 -04:00
_ "v2ray.com/core/transport/internet/headers/tls"
2016-12-16 17:38:58 -05:00
_ "v2ray.com/core/transport/internet/headers/utp"
2017-01-03 16:46:22 -05:00
_ "v2ray.com/core/transport/internet/headers/wechat"
2018-08-27 15:52:25 -04:00
_ "v2ray.com/core/transport/internet/headers/wireguard"
// JSON config support. Choose only one from the two below.
// The following line loads JSON from v2ctl
_ "v2ray.com/core/main/json"
// The following line loads JSON internally
// _ "v2ray.com/core/main/jsonem"
2018-04-09 05:43:13 -04:00
// Load config from file or http(s)
_ "v2ray.com/core/main/confloader/external"
2016-12-16 17:38:58 -05:00
)