mirror of
https://github.com/InazumaV/Ratte.git
synced 2026-02-04 12:40:12 +00:00
18 lines
299 B
Go
18 lines
299 B
Go
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)
|
|
}
|
|
}
|