sql

package
v0.0.0-...-bbf8f27 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2024 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sql.DB
View Source
var ErrNil = fmt.Errorf("not found")

Functions

This section is empty.

Types

type PasskyAuth

type PasskyAuth struct {
	UUID string
	Algo string
	Hash string
	Salt string
	IP   string
	Date string
}

func GetPlayerAuth

func GetPlayerAuth(username string) (PasskyAuth, error)

type WhitelistPlayer

type WhitelistPlayer struct {
	ID          int64
	Name        string
	UUID        string
	Discord     string
	Whitelisted int8
}

func GetPlayer

func GetPlayer(username string, discordID string) (WhitelistPlayer, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL