Port entrance server to Go

This commit is contained in:
Andrew Gutekanst
2020-01-01 08:46:36 +09:00
parent caf9fc91ed
commit 1c6b7ef257
4 changed files with 151 additions and 235 deletions

View File

@@ -6,8 +6,8 @@ import (
"time"
"github.com/Andoryuuta/Erupe/channelserver"
_ "github.com/Andoryuuta/Erupe/network/mhfpacket"
"github.com/Andoryuuta/Erupe/signserver"
"github.com/Andoryuuta/Erupe/entranceserver"
_ "github.com/lib/pq"
)
@@ -31,7 +31,7 @@ func main() {
// Finally start our server(s).
go serveLauncherHTML(":80", false)
go doEntranceServer(":53310")
go entranceserver.DoEntranceServer(":53310")
signServer := signserver.NewServer(
&signserver.Config{