github.com/eagleql/xray-core@v1.4.4/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  	_ "github.com/eagleql/xray-core/app/dispatcher"
     8  	_ "github.com/eagleql/xray-core/app/proxyman/inbound"
     9  	_ "github.com/eagleql/xray-core/app/proxyman/outbound"
    10  
    11  	// Default commander and all its services. This is an optional feature.
    12  	_ "github.com/eagleql/xray-core/app/commander"
    13  	_ "github.com/eagleql/xray-core/app/log/command"
    14  	_ "github.com/eagleql/xray-core/app/proxyman/command"
    15  	_ "github.com/eagleql/xray-core/app/stats/command"
    16  
    17  	// Other optional features.
    18  	_ "github.com/eagleql/xray-core/app/dns"
    19  	_ "github.com/eagleql/xray-core/app/dns/fakedns"
    20  	_ "github.com/eagleql/xray-core/app/log"
    21  	_ "github.com/eagleql/xray-core/app/policy"
    22  	_ "github.com/eagleql/xray-core/app/reverse"
    23  	_ "github.com/eagleql/xray-core/app/router"
    24  	_ "github.com/eagleql/xray-core/app/stats"
    25  
    26  	// Inbound and outbound proxies.
    27  	_ "github.com/eagleql/xray-core/proxy/blackhole"
    28  	_ "github.com/eagleql/xray-core/proxy/dns"
    29  	_ "github.com/eagleql/xray-core/proxy/dokodemo"
    30  	_ "github.com/eagleql/xray-core/proxy/freedom"
    31  	_ "github.com/eagleql/xray-core/proxy/http"
    32  	_ "github.com/eagleql/xray-core/proxy/mtproto"
    33  	_ "github.com/eagleql/xray-core/proxy/shadowsocks"
    34  	_ "github.com/eagleql/xray-core/proxy/socks"
    35  	_ "github.com/eagleql/xray-core/proxy/trojan"
    36  	_ "github.com/eagleql/xray-core/proxy/vless/inbound"
    37  	_ "github.com/eagleql/xray-core/proxy/vless/outbound"
    38  	_ "github.com/eagleql/xray-core/proxy/vmess/inbound"
    39  	_ "github.com/eagleql/xray-core/proxy/vmess/outbound"
    40  
    41  	// Transports
    42  	_ "github.com/eagleql/xray-core/transport/internet/domainsocket"
    43  	_ "github.com/eagleql/xray-core/transport/internet/grpc"
    44  	_ "github.com/eagleql/xray-core/transport/internet/http"
    45  	_ "github.com/eagleql/xray-core/transport/internet/kcp"
    46  	_ "github.com/eagleql/xray-core/transport/internet/quic"
    47  	_ "github.com/eagleql/xray-core/transport/internet/tcp"
    48  	_ "github.com/eagleql/xray-core/transport/internet/tls"
    49  	_ "github.com/eagleql/xray-core/transport/internet/udp"
    50  	_ "github.com/eagleql/xray-core/transport/internet/websocket"
    51  	_ "github.com/eagleql/xray-core/transport/internet/xtls"
    52  
    53  	// Transport headers
    54  	_ "github.com/eagleql/xray-core/transport/internet/headers/http"
    55  	_ "github.com/eagleql/xray-core/transport/internet/headers/noop"
    56  	_ "github.com/eagleql/xray-core/transport/internet/headers/srtp"
    57  	_ "github.com/eagleql/xray-core/transport/internet/headers/tls"
    58  	_ "github.com/eagleql/xray-core/transport/internet/headers/utp"
    59  	_ "github.com/eagleql/xray-core/transport/internet/headers/wechat"
    60  	_ "github.com/eagleql/xray-core/transport/internet/headers/wireguard"
    61  
    62  	// JSON & TOML & YAML
    63  	_ "github.com/eagleql/xray-core/main/json"
    64  	_ "github.com/eagleql/xray-core/main/toml"
    65  	_ "github.com/eagleql/xray-core/main/yaml"
    66  
    67  	// Load config from file or http(s)
    68  	_ "github.com/eagleql/xray-core/main/confloader/external"
    69  
    70  	// Commands
    71  	_ "github.com/eagleql/xray-core/main/commands/all"
    72  )