refactor: Modular inbounds/outbounds
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user