Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Query = map[string]string{
"login": "SELECT * FROM users WHERE username = ?",
"register": "INSERT INTO users (username, password) VALUES (?, ?)",
}
Functions ¶
func CheckPasswordHash ¶
func HashPassword ¶
func Headers ¶
func Headers(w *http.ResponseWriter)
Types ¶
Click to show internal directories.
Click to hide internal directories.