Home
last modified time | relevance | path

Searched refs:OutboundConfigs (Results 1 – 6 of 6) sorted by relevance

/dports/net/v2ray/v2ray-core-4.36.2/infra/conf/
H A Dv2ray.go348 OutboundConfigs []OutboundDetourConfig `json:"outbounds"` member
370 for idx, ob := range c.OutboundConfigs {
443 if len(o.OutboundConfigs) > 0 {
444 if len(c.OutboundConfigs) > 0 && len(o.OutboundConfigs) == 1 {
445 if idx := c.findOutboundTag(o.OutboundConfigs[0].Tag); idx > -1 {
446 c.OutboundConfigs[idx] = o.OutboundConfigs[0]
450 c.OutboundConfigs = append(c.OutboundConfigs, o.OutboundConfigs[0])
453 c.OutboundConfigs = append(o.OutboundConfigs, c.OutboundConfigs...)
458 c.OutboundConfigs = o.OutboundConfigs
607 if len(c.OutboundConfigs) > 0 {
[all …]
H A Dv2ray_test.go427 … &Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos0"}, {Protocol: "vmess", Tag: "pos1"}}},
428 &Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos1", Protocol: "kcp"}}},
430 &Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos0"}, {Tag: "pos1", Protocol: "kcp"}}}},
432 … &Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos0"}, {Protocol: "vmess", Tag: "pos1"}}},
433 …&Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos1", Protocol: "kcp"}, {Tag: "pos2", Prot…
435 …&Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos1", Protocol: "kcp"}, {Tag: "pos2", Prot…
437 … &Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos0"}, {Protocol: "vmess", Tag: "pos1"}}},
438 &Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos2", Protocol: "kcp"}}},
440 …&Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos0"}, {Protocol: "vmess", Tag: "pos1"}, {…
/dports/security/xray-core/Xray-core-1.5.0/infra/conf/
H A Dxray.go399 OutboundConfigs []OutboundDetourConfig `json:"outbounds"` member
421 for idx, ob := range c.OutboundConfigs {
494 if len(o.OutboundConfigs) > 0 {
495 if len(c.OutboundConfigs) > 0 && len(o.OutboundConfigs) == 1 {
496 if idx := c.findOutboundTag(o.OutboundConfigs[0].Tag); idx > -1 {
497 c.OutboundConfigs[idx] = o.OutboundConfigs[0]
501 c.OutboundConfigs = append(c.OutboundConfigs, o.OutboundConfigs[0])
504 c.OutboundConfigs = append(o.OutboundConfigs, c.OutboundConfigs...)
509 c.OutboundConfigs = o.OutboundConfigs
658 if len(c.OutboundConfigs) > 0 {
[all …]
H A Dxray_test.go437 … &Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos0"}, {Protocol: "vmess", Tag: "pos1"}}},
438 &Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos1", Protocol: "kcp"}}},
440 &Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos0"}, {Tag: "pos1", Protocol: "kcp"}}},
444 … &Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos0"}, {Protocol: "vmess", Tag: "pos1"}}},
445 …&Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos1", Protocol: "kcp"}, {Tag: "pos2", Prot…
447 …&Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos1", Protocol: "kcp"}, {Tag: "pos2", Prot…
451 … &Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos0"}, {Protocol: "vmess", Tag: "pos1"}}},
452 &Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos2", Protocol: "kcp"}}},
454 …&Config{OutboundConfigs: []OutboundDetourConfig{{Tag: "pos0"}, {Protocol: "vmess", Tag: "pos1"}, {…
/dports/security/xray-core/Xray-core-1.5.0/main/commands/all/api/
H A Doutbounds_remove.go44 outs := conf.OutboundConfigs
H A Doutbounds_add.go48 outs = append(outs, conf.OutboundConfigs...)