Documentation
¶
Index ¶
- func AddUser(reqId, userId, verifMessageId, verifChannelId, guildId string, reqTime int64)
- func AddUserLog(reqId, userId, fingerprint, guildId string, ipScore float64, pass bool)
- func Close()
- func Connect()
- func DeleteUser(reqId string)
- func FindGuild(guildId string) *models.GuildConfig
- func FindUser(reqId string) *models.VerifyUser
- func SetAddGuild(guildId, verifChanId, roleId, logsChanId string) bool
- func UpdateUser(reqId string, attemptsLeft int16)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUserLog ¶
func DeleteUser ¶
func DeleteUser(reqId string)
func FindGuild ¶
func FindGuild(guildId string) *models.GuildConfig
func FindUser ¶
func FindUser(reqId string) *models.VerifyUser
func SetAddGuild ¶
Adds or updates a new guild config, returns true if updated
func UpdateUser ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.