database

package
v0.0.0-...-89b2dec Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUser

func AddUser(reqId, userId, verifMessageId, verifChannelId, guildId string, reqTime int64)

func AddUserLog

func AddUserLog(reqId, userId, fingerprint, guildId string, ipScore float64, pass bool)

func Close

func Close()

func Connect

func Connect()

func DeleteUser

func DeleteUser(reqId string)

func FindGuild

func FindGuild(guildId string) *models.GuildConfig

func FindUser

func FindUser(reqId string) *models.VerifyUser

func SetAddGuild

func SetAddGuild(guildId, verifChanId, roleId, logsChanId string) bool

Adds or updates a new guild config, returns true if updated

func UpdateUser

func UpdateUser(reqId string, attemptsLeft int16)

Types

This section is empty.

Jump to

Keyboard shortcuts

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