refactor: Modular inbounds/outbounds

This commit is contained in:
世界
2024-11-30 12:26:03 +08:00
parent abb1b14f3b
commit 4581653def
151 changed files with 3115 additions and 2925 deletions
+12
View File
@@ -0,0 +1,12 @@
//go:build with_wireguard
package include
import (
"github.com/sagernet/sing-box/adapter/outbound"
"github.com/sagernet/sing-box/protocol/wireguard"
)
func registerWireGuardOutbound(registry *outbound.Registry) {
wireguard.RegisterOutbound(registry)
}