Add box service

This commit is contained in:
problematicconsumer
2023-08-27 13:57:23 +03:30
parent 2db0474a26
commit ba2b57e9dc
4 changed files with 53 additions and 59 deletions

View File

@@ -8,9 +8,10 @@ import (
"os"
"github.com/hiddify/libcore/shared"
"github.com/sagernet/sing-box/experimental/libbox"
)
var box *BoxService
var box *libbox.BoxService
//export setup
func setup(baseDir *C.char, workingDir *C.char, tempDir *C.char) {