mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 20:37:37 +03:00
refactor: Modular inbounds/outbounds
This commit is contained in:
parent
9f7683818f
commit
e233fd4fe5
152 changed files with 3116 additions and 2926 deletions
|
@ -24,7 +24,7 @@ func testShadowsocksLegacy(t *testing.T, method string) {
|
|||
},
|
||||
})
|
||||
startInstance(t, option.Options{
|
||||
Inbounds: []option.Inbound{
|
||||
Inbounds: []option.LegacyInbound{
|
||||
{
|
||||
Type: C.TypeMixed,
|
||||
MixedOptions: option.HTTPMixedInboundOptions{
|
||||
|
@ -35,7 +35,7 @@ func testShadowsocksLegacy(t *testing.T, method string) {
|
|||
},
|
||||
},
|
||||
},
|
||||
Outbounds: []option.Outbound{
|
||||
LegacyOutbounds: []option.LegacyOutbound{
|
||||
{
|
||||
Type: C.TypeShadowsocks,
|
||||
ShadowsocksOptions: option.ShadowsocksOutboundOptions{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue