github.com/imannamdari/v2ray-core/v5@v5.0.5/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  	// Mandatory features. Can't remove unless there are replacements.
     7  	_ "github.com/imannamdari/v2ray-core/v5/app/dispatcher"
     8  	_ "github.com/imannamdari/v2ray-core/v5/app/proxyman/inbound"
     9  	_ "github.com/imannamdari/v2ray-core/v5/app/proxyman/outbound"
    10  
    11  	// Default commander and all its services. This is an optional feature.
    12  	_ "github.com/imannamdari/v2ray-core/v5/app/commander"
    13  	_ "github.com/imannamdari/v2ray-core/v5/app/log/command"
    14  	_ "github.com/imannamdari/v2ray-core/v5/app/proxyman/command"
    15  	_ "github.com/imannamdari/v2ray-core/v5/app/stats/command"
    16  
    17  	// Developer preview services
    18  	_ "github.com/imannamdari/v2ray-core/v5/app/instman/command"
    19  	_ "github.com/imannamdari/v2ray-core/v5/app/observatory/command"
    20  
    21  	// Other optional features.
    22  	_ "github.com/imannamdari/v2ray-core/v5/app/dns"
    23  	_ "github.com/imannamdari/v2ray-core/v5/app/dns/fakedns"
    24  	_ "github.com/imannamdari/v2ray-core/v5/app/log"
    25  	_ "github.com/imannamdari/v2ray-core/v5/app/policy"
    26  	_ "github.com/imannamdari/v2ray-core/v5/app/reverse"
    27  	_ "github.com/imannamdari/v2ray-core/v5/app/router"
    28  	_ "github.com/imannamdari/v2ray-core/v5/app/stats"
    29  
    30  	// Fix dependency cycle caused by core import in internet package
    31  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/tagged/taggedimpl"
    32  
    33  	// Developer preview features
    34  	_ "github.com/imannamdari/v2ray-core/v5/app/instman"
    35  	_ "github.com/imannamdari/v2ray-core/v5/app/observatory"
    36  	_ "github.com/imannamdari/v2ray-core/v5/app/restfulapi"
    37  
    38  	// Inbound and outbound proxies.
    39  	_ "github.com/imannamdari/v2ray-core/v5/proxy/blackhole"
    40  	_ "github.com/imannamdari/v2ray-core/v5/proxy/dns"
    41  	_ "github.com/imannamdari/v2ray-core/v5/proxy/dokodemo"
    42  	_ "github.com/imannamdari/v2ray-core/v5/proxy/freedom"
    43  	_ "github.com/imannamdari/v2ray-core/v5/proxy/http"
    44  	_ "github.com/imannamdari/v2ray-core/v5/proxy/shadowsocks"
    45  	_ "github.com/imannamdari/v2ray-core/v5/proxy/socks"
    46  	_ "github.com/imannamdari/v2ray-core/v5/proxy/trojan"
    47  	_ "github.com/imannamdari/v2ray-core/v5/proxy/vless/inbound"
    48  	_ "github.com/imannamdari/v2ray-core/v5/proxy/vless/outbound"
    49  	_ "github.com/imannamdari/v2ray-core/v5/proxy/vmess/inbound"
    50  	_ "github.com/imannamdari/v2ray-core/v5/proxy/vmess/outbound"
    51  
    52  	// Developer preview proxies
    53  	_ "github.com/imannamdari/v2ray-core/v5/proxy/vlite/inbound"
    54  	_ "github.com/imannamdari/v2ray-core/v5/proxy/vlite/outbound"
    55  
    56  	// Transports
    57  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/domainsocket"
    58  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/grpc"
    59  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/http"
    60  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/kcp"
    61  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/quic"
    62  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/tcp"
    63  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/tls"
    64  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/tls/utls"
    65  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/udp"
    66  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/websocket"
    67  
    68  	// Transport headers
    69  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/headers/http"
    70  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/headers/noop"
    71  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/headers/srtp"
    72  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/headers/tls"
    73  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/headers/utp"
    74  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/headers/wechat"
    75  	_ "github.com/imannamdari/v2ray-core/v5/transport/internet/headers/wireguard"
    76  
    77  	// Geo loaders
    78  	_ "github.com/imannamdari/v2ray-core/v5/infra/conf/geodata/memconservative"
    79  	_ "github.com/imannamdari/v2ray-core/v5/infra/conf/geodata/standard"
    80  
    81  	// JSON, TOML, YAML config support. (jsonv4) This disable selective compile
    82  	_ "github.com/imannamdari/v2ray-core/v5/main/formats"
    83  
    84  	// commands
    85  	_ "github.com/imannamdari/v2ray-core/v5/main/commands/all"
    86  
    87  	// engineering commands
    88  	_ "github.com/imannamdari/v2ray-core/v5/main/commands/all/engineering"
    89  
    90  	// Commands that rely on jsonv4 format This disable selective compile
    91  	_ "github.com/imannamdari/v2ray-core/v5/main/commands/all/api/jsonv4"
    92  	_ "github.com/imannamdari/v2ray-core/v5/main/commands/all/jsonv4"
    93  
    94  	// V5 version of json configure file parser
    95  	_ "github.com/imannamdari/v2ray-core/v5/infra/conf/v5cfg"
    96  
    97  	// Simplified config
    98  	_ "github.com/imannamdari/v2ray-core/v5/proxy/http/simplified"
    99  	_ "github.com/imannamdari/v2ray-core/v5/proxy/shadowsocks/simplified"
   100  	_ "github.com/imannamdari/v2ray-core/v5/proxy/socks/simplified"
   101  	_ "github.com/imannamdari/v2ray-core/v5/proxy/trojan/simplified"
   102  )