repositories

package
v0.0.0-...-24028a5 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB_HOST string
View Source
var DB_NAME string
View Source
var DB_PASSWORD string
View Source
var DB_PORT = "3306"
View Source
var DB_USER string

Functions

func ComparePasswords

func ComparePasswords(hashedPassword, password string) error

func GetDB

func GetDB() (*sql.DB, error)

func HashPassword

func HashPassword(password string) (string, error)

func InitDB

func InitDB(c *gin.Context)

func PingDatabase

func PingDatabase(c *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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