package
Version:
v0.0.0-...-3338c34
Opens a new window with list of versions in this module.
Published: Jan 21, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
//Keeps track of logins and mysql login data
type DBData struct {
DBType, User, Password, Host, DBName string
Session *sql.DB
SessionToken map[string]models.User
}
Reads Json file and fill mysql database
type User struct {
FirstName string `json:"firstname"`
LastName string `json:"lastname"`
Email string `json:"email"`
PassWord string `json:"password"`
}
Data collected and stored of user
Source Files
¶
Click to show internal directories.
Click to hide internal directories.