Add bridge outbound

This commit is contained in:
世界
2026-07-08 00:10:00 +08:00
parent 8274ce41df
commit e2b25f17db
35 changed files with 3586 additions and 12 deletions
+2
View File
@@ -21,6 +21,7 @@ import (
"github.com/sagernet/sing-box/option"
"github.com/sagernet/sing-box/protocol/anytls"
"github.com/sagernet/sing-box/protocol/block"
"github.com/sagernet/sing-box/protocol/bridge"
"github.com/sagernet/sing-box/protocol/direct"
"github.com/sagernet/sing-box/protocol/group"
"github.com/sagernet/sing-box/protocol/http"
@@ -80,6 +81,7 @@ func OutboundRegistry() *outbound.Registry {
registry := outbound.NewRegistry()
direct.RegisterOutbound(registry)
bridge.RegisterOutbound(registry)
block.RegisterOutbound(registry)