Services

package
v0.0.0-...-9d5f6c9 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminLogin

func AdminLogin(email, password string) (interface{}, error)

func AdminLoginCheck

func AdminLoginCheck(email, password string) (interface{}, error)

func AdminRegister

func AdminRegister(emal, password string) (interface{}, error)

func CloseDB

func CloseDB()

func Decryption

func Decryption(str string) string

解密

func Encryption

func Encryption(str string) string

加密

func GetAdminInfo

func GetAdminInfo() []*MySQL.Admin

func GetAllArticle

func GetAllArticle(group_id int) *[]MySQL.Article

func GetAllArticleGroup

func GetAllArticleGroup() *[]MySQL.ArticleGroup

func GetOneArticle

func GetOneArticle(id int) *MySQL.Article

func MySQLSetup

func MySQLSetup()

Types

This section is empty.

Jump to

Keyboard shortcuts

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