Merge dialer options

This commit is contained in:
世界 2022-09-03 12:55:10 +08:00
parent b206d0889b
commit 62fa48293a
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
25 changed files with 31 additions and 44 deletions

View file

@ -60,10 +60,8 @@ func TestShadowTLS(t *testing.T) {
ShadowsocksOptions: option.ShadowsocksOutboundOptions{
Method: method,
Password: password,
OutboundDialerOptions: option.OutboundDialerOptions{
DialerOptions: option.DialerOptions{
Detour: "detour",
},
DialerOptions: option.DialerOptions{
Detour: "detour",
},
},
},
@ -131,10 +129,8 @@ func TestShadowTLSOutbound(t *testing.T) {
{
Type: C.TypeSocks,
SocksOptions: option.SocksOutboundOptions{
OutboundDialerOptions: option.OutboundDialerOptions{
DialerOptions: option.DialerOptions{
Detour: "detour",
},
DialerOptions: option.DialerOptions{
Detour: "detour",
},
},
},