Documentation ¶
Index ¶
- func AdminLogin(email, password string) (interface{}, error)
- func AdminLoginCheck(email, password string) (interface{}, error)
- func AdminRegister(emal, password string) (interface{}, error)
- func CloseDB()
- func Decryption(str string) string
- func Encryption(str string) string
- func GetAdminInfo() []*MySQL.Admin
- func GetAllArticle(group_id int) *[]MySQL.Article
- func GetAllArticleGroup() *[]MySQL.ArticleGroup
- func GetOneArticle(id int) *MySQL.Article
- func MySQLSetup()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdminLogin ¶
func AdminLoginCheck ¶
func AdminRegister ¶
func GetAdminInfo ¶
func GetAllArticle ¶
func GetAllArticleGroup ¶
func GetAllArticleGroup() *[]MySQL.ArticleGroup
func GetOneArticle ¶
func MySQLSetup ¶
func MySQLSetup()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.