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