database

package
v0.0.0-...-fdbb991 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Database *sql.DB
View Source
var Statements = make(map[string]*sql.Stmt)

Functions

func CheckUserPasswordGetID

func CheckUserPasswordGetID(username, password string) (string, error)

is password correct for username

func CheckUserToken

func CheckUserToken(userID, token string) (bool, error)

is token correct for username

func InitDatabase

func InitDatabase()

Types

This section is empty.

Jump to

Keyboard shortcuts

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