Update GitHub link
parent
10606ebb13
commit
522ce9f4fa
|
@ -5,7 +5,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/Flashfyre/pokerogue-server/db"
|
"github.com/pagefaultgames/pokerogue-server/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
func getUsernameFromRequest(r *http.Request) (string, error) {
|
func getUsernameFromRequest(r *http.Request) (string, error) {
|
||||||
|
|
|
@ -11,7 +11,7 @@ import (
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Flashfyre/pokerogue-server/db"
|
"github.com/pagefaultgames/pokerogue-server/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -10,9 +10,9 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Flashfyre/pokerogue-server/db"
|
|
||||||
"github.com/Flashfyre/pokerogue-server/defs"
|
|
||||||
"github.com/go-co-op/gocron"
|
"github.com/go-co-op/gocron"
|
||||||
|
"github.com/pagefaultgames/pokerogue-server/db"
|
||||||
|
"github.com/pagefaultgames/pokerogue-server/defs"
|
||||||
)
|
)
|
||||||
|
|
||||||
const secondsPerDay = 60 * 60 * 24
|
const secondsPerDay = 60 * 60 * 24
|
||||||
|
|
|
@ -4,8 +4,8 @@ import (
|
||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/Flashfyre/pokerogue-server/db"
|
|
||||||
"github.com/go-co-op/gocron"
|
"github.com/go-co-op/gocron"
|
||||||
|
"github.com/pagefaultgames/pokerogue-server/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|
|
@ -9,7 +9,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/Flashfyre/pokerogue-server/defs"
|
"github.com/pagefaultgames/pokerogue-server/defs"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Server struct {
|
type Server struct {
|
||||||
|
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/Flashfyre/pokerogue-server/defs"
|
|
||||||
"github.com/klauspost/compress/zstd"
|
"github.com/klauspost/compress/zstd"
|
||||||
|
"github.com/pagefaultgames/pokerogue-server/defs"
|
||||||
)
|
)
|
||||||
|
|
||||||
func readSystemSaveData(uuid []byte) (defs.SystemSaveData, error) {
|
func readSystemSaveData(uuid []byte) (defs.SystemSaveData, error) {
|
||||||
|
|
|
@ -8,9 +8,9 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/Flashfyre/pokerogue-server/db"
|
|
||||||
"github.com/Flashfyre/pokerogue-server/defs"
|
|
||||||
"github.com/klauspost/compress/zstd"
|
"github.com/klauspost/compress/zstd"
|
||||||
|
"github.com/pagefaultgames/pokerogue-server/db"
|
||||||
|
"github.com/pagefaultgames/pokerogue-server/defs"
|
||||||
)
|
)
|
||||||
|
|
||||||
const sessionSlotCount = 3
|
const sessionSlotCount = 3
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"slices"
|
"slices"
|
||||||
|
|
||||||
"github.com/Flashfyre/pokerogue-server/defs"
|
|
||||||
_ "github.com/go-sql-driver/mysql"
|
_ "github.com/go-sql-driver/mysql"
|
||||||
|
"github.com/pagefaultgames/pokerogue-server/defs"
|
||||||
)
|
)
|
||||||
|
|
||||||
func AddAccountRecord(uuid []byte, username string, key, salt []byte) error {
|
func AddAccountRecord(uuid []byte, username string, key, salt []byte) error {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package db
|
||||||
import (
|
import (
|
||||||
"math"
|
"math"
|
||||||
|
|
||||||
"github.com/Flashfyre/pokerogue-server/defs"
|
"github.com/pagefaultgames/pokerogue-server/defs"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TryAddDailyRun(seed string) error {
|
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
|
go 1.22
|
||||||
|
|
||||||
|
|
|
@ -7,8 +7,8 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/Flashfyre/pokerogue-server/api"
|
"github.com/pagefaultgames/pokerogue-server/api"
|
||||||
"github.com/Flashfyre/pokerogue-server/db"
|
"github.com/pagefaultgames/pokerogue-server/db"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
Loading…
Reference in New Issue