1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-23 02:26:49 -05:00

Add DomainStrategy for JSONv5 outbound

This commit is contained in:
57a4c324e742 2023-06-04 01:46:12 +00:00 committed by Xiaokang Wang (Shelikhoo)
parent ce7dc23446
commit 620c2c1e37

View File

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