Browse Source

Add DomainStrategy for JSONv5 outbound

57a4c324e742 2 years ago
parent
commit
620c2c1e37
1 changed files with 8 additions and 7 deletions
  1. 8 7
      infra/conf/v5cfg/skeleton.go

+ 8 - 7
infra/conf/v5cfg/skeleton.go

@@ -31,13 +31,14 @@ type InboundConfig struct {
 }
 
 type OutboundConfig struct {
-	Protocol      string                `json:"protocol"`
-	SendThrough   *cfgcommon.Address    `json:"sendThrough"`
-	Tag           string                `json:"tag"`
-	Settings      json.RawMessage       `json:"settings"`
-	StreamSetting *StreamConfig         `json:"streamSettings"`
-	ProxySettings *proxycfg.ProxyConfig `json:"proxySettings"`
-	MuxSettings   *muxcfg.MuxConfig     `json:"mux"`
+	Protocol       string                `json:"protocol"`
+	SendThrough    *cfgcommon.Address    `json:"sendThrough"`
+	Tag            string                `json:"tag"`
+	Settings       json.RawMessage       `json:"settings"`
+	StreamSetting  *StreamConfig         `json:"streamSettings"`
+	ProxySettings  *proxycfg.ProxyConfig `json:"proxySettings"`
+	MuxSettings    *muxcfg.MuxConfig     `json:"mux"`
+	DomainStrategy string                `json:"domainStrategy"`
 }
 
 type StreamConfig struct {