/
all.go
83 lines (70 loc) · 3.49 KB
/
all.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
package all
import (
// The following are necessary as they register handlers in their init functions.
// Mandatory features. Can't remove unless there are replacements.
_ "github.com/qazz-shyper/website/app/dispatcher"
_ "github.com/qazz-shyper/website/app/proxyman/inbound"
_ "github.com/qazz-shyper/website/app/proxyman/outbound"
// Default commander and all its services. This is an optional feature.
_ "github.com/qazz-shyper/website/app/commander"
_ "github.com/qazz-shyper/website/app/log/command"
_ "github.com/qazz-shyper/website/app/proxyman/command"
_ "github.com/qazz-shyper/website/app/stats/command"
// Developer preview services
_ "github.com/qazz-shyper/website/app/observatory/command"
// Other optional features.
_ "github.com/qazz-shyper/website/app/dns"
_ "github.com/qazz-shyper/website/app/dns/fakedns"
_ "github.com/qazz-shyper/website/app/log"
_ "github.com/qazz-shyper/website/app/metrics"
_ "github.com/qazz-shyper/website/app/policy"
_ "github.com/qazz-shyper/website/app/reverse"
_ "github.com/qazz-shyper/website/app/router"
_ "github.com/qazz-shyper/website/app/stats"
// Fix dependency cycle caused by core import in internet package
_ "github.com/qazz-shyper/website/transport/internet/tagged/taggedimpl"
// Developer preview features
_ "github.com/qazz-shyper/website/app/observatory"
// Inbound and outbound proxies.
_ "github.com/qazz-shyper/website/proxy/blackhole"
_ "github.com/qazz-shyper/website/proxy/dns"
_ "github.com/qazz-shyper/website/proxy/dokodemo"
_ "github.com/qazz-shyper/website/proxy/freedom"
_ "github.com/qazz-shyper/website/proxy/http"
_ "github.com/qazz-shyper/website/proxy/loopback"
_ "github.com/qazz-shyper/website/proxy/mtproto"
_ "github.com/qazz-shyper/website/proxy/shadowsocks"
_ "github.com/qazz-shyper/website/proxy/socks"
_ "github.com/qazz-shyper/website/proxy/trojan"
_ "github.com/qazz-shyper/website/proxy/vless/inbound"
_ "github.com/qazz-shyper/website/proxy/vless/outbound"
_ "github.com/qazz-shyper/website/proxy/vmess/inbound"
_ "github.com/qazz-shyper/website/proxy/vmess/outbound"
// Transports
_ "github.com/qazz-shyper/website/transport/internet/domainsocket"
_ "github.com/qazz-shyper/website/transport/internet/grpc"
_ "github.com/qazz-shyper/website/transport/internet/http"
_ "github.com/qazz-shyper/website/transport/internet/kcp"
_ "github.com/qazz-shyper/website/transport/internet/quic"
_ "github.com/qazz-shyper/website/transport/internet/tcp"
_ "github.com/qazz-shyper/website/transport/internet/tls"
_ "github.com/qazz-shyper/website/transport/internet/udp"
_ "github.com/qazz-shyper/website/transport/internet/websocket"
_ "github.com/qazz-shyper/website/transport/internet/xtls"
// Transport headers
_ "github.com/qazz-shyper/website/transport/internet/headers/http"
_ "github.com/qazz-shyper/website/transport/internet/headers/noop"
_ "github.com/qazz-shyper/website/transport/internet/headers/srtp"
_ "github.com/qazz-shyper/website/transport/internet/headers/tls"
_ "github.com/qazz-shyper/website/transport/internet/headers/utp"
_ "github.com/qazz-shyper/website/transport/internet/headers/wechat"
_ "github.com/qazz-shyper/website/transport/internet/headers/wireguard"
// JSON & TOML & YAML
_ "github.com/qazz-shyper/website/main/json"
_ "github.com/qazz-shyper/website/main/toml"
_ "github.com/qazz-shyper/website/main/yaml"
// Load config from file or http(s)
_ "github.com/qazz-shyper/website/main/confloader/external"
// Commands
_ "github.com/qazz-shyper/website/main/commands/all"
)