refactor: Modular inbounds/outbounds

This commit is contained in:
世界
2024-11-28 14:29:42 +08:00
parent 9d1b3bc4d4
commit 5b73a0cea9
151 changed files with 3115 additions and 2925 deletions
+10
View File
@@ -0,0 +1,10 @@
package wireguard
import (
"github.com/sagernet/sing-box/common/dialer"
"github.com/sagernet/wireguard-go/conn"
)
func init() {
dialer.WgControlFns = conn.ControlFns
}