Add trojan connection fallback

This commit is contained in:
世界
2022-08-20 20:54:20 +08:00
parent f13ecbd9bb
commit 746b5d8be0
7 changed files with 48 additions and 14 deletions

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 {