refactor: WireGuard endpoint

This commit is contained in:
世界
2024-11-30 12:26:29 +08:00
parent 77e4d86fa0
commit 40b2dde5c5
91 changed files with 2179 additions and 677 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ func NewOutbound(ctx context.Context, router adapter.Router, logger log.ContextL
return nil, err
}
outbound := &Outbound{
Adapter: outbound.NewAdapterWithDialerOptions(C.TypeVMess, options.Network.Build(), tag, options.DialerOptions),
Adapter: outbound.NewAdapterWithDialerOptions(C.TypeVMess, tag, options.Network.Build(), options.DialerOptions),
logger: logger,
dialer: outboundDialer,
serverAddr: options.ServerOptions.Build(),