refactor global and admin service to use grpc

This commit is contained in:
Hiddify
2024-03-16 03:01:22 +01:00
parent 361419b95e
commit 6039baa313
20 changed files with 553 additions and 1337 deletions

View File

@@ -1,7 +1,7 @@
package cmd
import (
"github.com/hiddify/libcore/global"
v2 "github.com/hiddify/libcore/v2"
"github.com/spf13/cobra"
)
@@ -29,5 +29,5 @@ func init() {
}
func runCommand(cmd *cobra.Command, args []string) {
global.RunStandalone(hiddifySettingPath, configPath)
v2.RunStandalone(hiddifySettingPath, configPath)
}