fix: bugs

This commit is contained in:
Yuzuki616
2025-04-20 12:04:31 +09:00
parent 73baff9250
commit 05c787100e
13 changed files with 270 additions and 93 deletions

17
test_data/core/main.go Normal file
View File

@@ -0,0 +1,17 @@
package main
import (
"github.com/InazumaV/Ratte-Core-Xray"
"github.com/InazumaV/Ratte-Interface/core"
log "github.com/sirupsen/logrus"
)
func main() {
c, err := core.NewServer(nil, xray.NewXray())
if err != nil {
log.Fatalln(err)
}
if err = c.Run(); err != nil {
log.Fatalln(err)
}
}

17
test_data/panel/main.go Normal file
View File

@@ -0,0 +1,17 @@
package main
import (
"github.com/InazumaV/Ratte-Interface/panel"
v2b "github.com/InazumaV/Ratte-Panel-V2b"
log "github.com/sirupsen/logrus"
)
func main() {
c, err := panel.NewServer(nil, v2b.NewPanel())
if err != nil {
log.Fatalln(err)
}
if err = c.Run(); err != nil {
log.Fatalln(err)
}
}