mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 12:40:11 +00:00
change project structure, fix online ip report bug
This commit is contained in:
@@ -2,6 +2,7 @@ package node_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/Yuzuki616/V2bX/api/panel"
|
||||
. "github.com/Yuzuki616/V2bX/node"
|
||||
"os"
|
||||
"os/signal"
|
||||
@@ -60,7 +61,7 @@ func TestController(t *testing.T) {
|
||||
NodeID: 41,
|
||||
NodeType: "V2ray",
|
||||
}
|
||||
apiclient := api.New(apiConfig)
|
||||
apiclient := panel.New(apiConfig)
|
||||
c := New(server, apiclient, controlerconfig)
|
||||
fmt.Println("Sleep 1s")
|
||||
err = c.Start()
|
||||
|
||||
Reference in New Issue
Block a user