mysql

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHWID

func AddHWID(username, hwid string)

func BanIp

func BanIp(ip string)

func BanUser

func BanUser(username string)

func CheckHWID

func CheckHWID(username, hwid string) bool

func CheckIPExists

func CheckIPExists(ip string) bool

func CheckPassword

func CheckPassword(username, password string) bool

func CheckUserExists

func CheckUserExists(username string) bool

func CreateUser

func CreateUser(username, password string)

func DeleteUser

func DeleteUser(username string)

func ExecuteUpdate

func ExecuteUpdate(query string, args ...any)

func GetData

func GetData(query string, args ...any) any

func HWIDExists

func HWIDExists(username string) bool

func InitDatabase

func InitDatabase() time.Duration

func IsBanned

func IsBanned(username string) bool

func SHAPass

func SHAPass(password string) string

func UnbanIp

func UnbanIp(ip string)

func UnbanUser

func UnbanUser(username string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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