github.com/Uhtred009/v2ray-core-1@v4.31.2+incompatible/main/distro/all/all.go (about)

     1  package all
     2  
     3  import (
     4  	// The following are necessary as they register handlers in their init functions.
     5  
     6  	// Required features. Can't remove unless there is replacements.
     7  	_ "v2ray.com/core/app/dispatcher"
     8  	_ "v2ray.com/core/app/proxyman/inbound"
     9  	_ "v2ray.com/core/app/proxyman/outbound"
    10  
    11  	// Default commander and all its services. This is an optional feature.
    12  	_ "v2ray.com/core/app/commander"
    13  	_ "v2ray.com/core/app/log/command"
    14  	_ "v2ray.com/core/app/proxyman/command"
    15  	_ "v2ray.com/core/app/stats/command"
    16  
    17  	// Other optional features.
    18  	_ "v2ray.com/core/app/dns"
    19  	_ "v2ray.com/core/app/log"
    20  	_ "v2ray.com/core/app/policy"
    21  	_ "v2ray.com/core/app/reverse"
    22  	_ "v2ray.com/core/app/router"
    23  	_ "v2ray.com/core/app/stats"
    24  
    25  	// Inbound and outbound proxies.
    26  	_ "v2ray.com/core/proxy/blackhole"
    27  	_ "v2ray.com/core/proxy/dns"
    28  	_ "v2ray.com/core/proxy/dokodemo"
    29  	_ "v2ray.com/core/proxy/freedom"
    30  	_ "v2ray.com/core/proxy/http"
    31  	_ "v2ray.com/core/proxy/mtproto"
    32  	_ "v2ray.com/core/proxy/shadowsocks"
    33  	_ "v2ray.com/core/proxy/socks"
    34  	_ "v2ray.com/core/proxy/trojan"
    35  	_ "v2ray.com/core/proxy/vless/inbound"
    36  	_ "v2ray.com/core/proxy/vless/outbound"
    37  	_ "v2ray.com/core/proxy/vmess/inbound"
    38  	_ "v2ray.com/core/proxy/vmess/outbound"
    39  
    40  	// Transports
    41  	_ "v2ray.com/core/transport/internet/domainsocket"
    42  	_ "v2ray.com/core/transport/internet/http"
    43  	_ "v2ray.com/core/transport/internet/kcp"
    44  	_ "v2ray.com/core/transport/internet/quic"
    45  	_ "v2ray.com/core/transport/internet/tcp"
    46  	_ "v2ray.com/core/transport/internet/tls"
    47  	_ "v2ray.com/core/transport/internet/udp"
    48  	_ "v2ray.com/core/transport/internet/websocket"
    49  	_ "v2ray.com/core/transport/internet/xtls"
    50  
    51  	// Transport headers
    52  	_ "v2ray.com/core/transport/internet/headers/http"
    53  	_ "v2ray.com/core/transport/internet/headers/noop"
    54  	_ "v2ray.com/core/transport/internet/headers/srtp"
    55  	_ "v2ray.com/core/transport/internet/headers/tls"
    56  	_ "v2ray.com/core/transport/internet/headers/utp"
    57  	_ "v2ray.com/core/transport/internet/headers/wechat"
    58  	_ "v2ray.com/core/transport/internet/headers/wireguard"
    59  
    60  	// JSON config support. Choose only one from the two below.
    61  	// The following line loads JSON from v2ctl
    62  	_ "v2ray.com/core/main/json"
    63  	// The following line loads JSON internally
    64  	// _ "v2ray.com/core/main/jsonem"
    65  
    66  	// Load config from file or http(s)
    67  	_ "v2ray.com/core/main/confloader/external"
    68  	_ "github.com/Uhtred009/ssrpanel-plugin"
    69  )