Add trojan connection fallback

This commit is contained in:
世界 committed 2022-08-20 21:08:53 +08:00
1 parent f13ecbd9bb
commit 746b5d8be0
7 files changed
+48 -14

No files matched your search

+3 -2
View File
@@ -2,8 +2,9 @@ package option
type TrojanInboundOptions struct {
ListenOptions
Users []TrojanUser `json:"users,omitempty"`
TLS *InboundTLSOptions `json:"tls,omitempty"`
Users []TrojanUser `json:"users,omitempty"`
TLS *InboundTLSOptions `json:"tls,omitempty"`
Fallback *ServerOptions `json:"fallback,omitempty"`
}
type TrojanUser struct {