xrayStreamForInbound 根据 inbound 配置生成 Xray streamSettings。
(ib inbounds.Inbound)
| 740 | |
| 741 | // xrayStreamForInbound 根据 inbound 配置生成 Xray streamSettings。 |
| 742 | func xrayStreamForInbound(ib inbounds.Inbound) *xrayStream { |
| 743 | if ib.Protocol == "vless" && ib.Security == "reality" { |
| 744 | return xrayRealityStreamFor(ib) |
| 745 | } |
| 746 | return nil |
| 747 | } |
| 748 | |
| 749 | // xrayRealityStreamFor 生成 Reality streamSettings。 |
| 750 | func xrayRealityStreamFor(ib inbounds.Inbound) *xrayStream { |
no test coverage detected