refactor: Modular inbounds/outbounds

This commit is contained in:
世界
2025-01-13 15:14:29 +08:00
parent 9f7683818f
commit e233fd4fe5
152 changed files with 3114 additions and 2924 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)
}