mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-02-22 16:41:28 +08:00
Update GitHub link
This commit is contained in:
parent
10606ebb13
commit
522ce9f4fa
@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
"github.com/Flashfyre/pokerogue-server/db"
|
||||
"github.com/pagefaultgames/pokerogue-server/db"
|
||||
)
|
||||
|
||||
func getUsernameFromRequest(r *http.Request) (string, error) {
|
||||
|
@ -11,7 +11,7 @@ import (
|
||||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/Flashfyre/pokerogue-server/db"
|
||||
"github.com/pagefaultgames/pokerogue-server/db"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -10,9 +10,9 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/Flashfyre/pokerogue-server/db"
|
||||
"github.com/Flashfyre/pokerogue-server/defs"
|
||||
"github.com/go-co-op/gocron"
|
||||
"github.com/pagefaultgames/pokerogue-server/db"
|
||||
"github.com/pagefaultgames/pokerogue-server/defs"
|
||||
)
|
||||
|
||||
const secondsPerDay = 60 * 60 * 24
|
||||
|
@ -4,8 +4,8 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/Flashfyre/pokerogue-server/db"
|
||||
"github.com/go-co-op/gocron"
|
||||
"github.com/pagefaultgames/pokerogue-server/db"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
"net/http"
|
||||
"strconv"
|
||||
|
||||
"github.com/Flashfyre/pokerogue-server/defs"
|
||||
"github.com/pagefaultgames/pokerogue-server/defs"
|
||||
)
|
||||
|
||||
type Server struct {
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"os"
|
||||
"strconv"
|
||||
|
||||
"github.com/Flashfyre/pokerogue-server/defs"
|
||||
"github.com/klauspost/compress/zstd"
|
||||
"github.com/pagefaultgames/pokerogue-server/defs"
|
||||
)
|
||||
|
||||
func readSystemSaveData(uuid []byte) (defs.SystemSaveData, error) {
|
||||
|
@ -8,9 +8,9 @@ import (
|
||||
"os"
|
||||
"strconv"
|
||||
|
||||
"github.com/Flashfyre/pokerogue-server/db"
|
||||
"github.com/Flashfyre/pokerogue-server/defs"
|
||||
"github.com/klauspost/compress/zstd"
|
||||
"github.com/pagefaultgames/pokerogue-server/db"
|
||||
"github.com/pagefaultgames/pokerogue-server/defs"
|
||||
)
|
||||
|
||||
const sessionSlotCount = 3
|
||||
|
@ -5,8 +5,8 @@ import (
|
||||
"fmt"
|
||||
"slices"
|
||||
|
||||
"github.com/Flashfyre/pokerogue-server/defs"
|
||||
_ "github.com/go-sql-driver/mysql"
|
||||
"github.com/pagefaultgames/pokerogue-server/defs"
|
||||
)
|
||||
|
||||
func AddAccountRecord(uuid []byte, username string, key, salt []byte) error {
|
||||
|
@ -3,7 +3,7 @@ package db
|
||||
import (
|
||||
"math"
|
||||
|
||||
"github.com/Flashfyre/pokerogue-server/defs"
|
||||
"github.com/pagefaultgames/pokerogue-server/defs"
|
||||
)
|
||||
|
||||
func TryAddDailyRun(seed string) error {
|
||||
|
2
go.mod
2
go.mod
@ -1,4 +1,4 @@
|
||||
module github.com/Flashfyre/pokerogue-server
|
||||
module github.com/pagefaultgames/pokerogue-server
|
||||
|
||||
go 1.22
|
||||
|
||||
|
@ -7,8 +7,8 @@ import (
|
||||
"net/http"
|
||||
"os"
|
||||
|
||||
"github.com/Flashfyre/pokerogue-server/api"
|
||||
"github.com/Flashfyre/pokerogue-server/db"
|
||||
"github.com/pagefaultgames/pokerogue-server/api"
|
||||
"github.com/pagefaultgames/pokerogue-server/db"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user