Documentation ¶
Index ¶
- func CreateComputer(c structures.WebComputer) (error bool, id int64, msg string)
- func Init()
- func ReadAll() (num int64, c []structures.WebComputer)
- func ReadCity(id int) (error bool, code string, msg string)
- func ReadComputer(c structures.WebComputer) (error bool, id int64, msg string)
- func ReadComputerIp(c structures.WebComputer) (error bool, ip string, msg string)
- func ReadCorrespond(word string) (error bool, c structures.WebCorrespond, msg string)
- func ReadIdentity(id uint) (error bool, cityid int, msg string)
- func ReadRand(city string, status int64) (c structures.WebComputer)
- func ReadUserComputer(code string) (name string)
- func ReadWebAccount(times int64) (c structures.WebAccount)
- func UpdateComputer(c structures.WebComputer) (error bool, id int64, msg string)
- func UpdateWebAccount(iserror int, updatetime int, id int) (error bool, num int64, mesg string)
- func UpdateWebAccountIsaction(id int) (error bool, num int64, mesg string)
- func UserReadComputer(code string) (c structures.WebComputer)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateComputer ¶
func CreateComputer(c structures.WebComputer) (error bool, id int64, msg string)
func ReadAll ¶
func ReadAll() (num int64, c []structures.WebComputer)
func ReadComputer ¶
func ReadComputer(c structures.WebComputer) (error bool, id int64, msg string)
func ReadComputerIp ¶
func ReadComputerIp(c structures.WebComputer) (error bool, ip string, msg string)
func ReadCorrespond ¶
func ReadCorrespond(word string) (error bool, c structures.WebCorrespond, msg string)
func ReadRand ¶
func ReadRand(city string, status int64) (c structures.WebComputer)
func ReadUserComputer ¶
func ReadWebAccount ¶
func ReadWebAccount(times int64) (c structures.WebAccount)
func UpdateComputer ¶
func UpdateComputer(c structures.WebComputer) (error bool, id int64, msg string)
func UpdateWebAccount ¶
func UserReadComputer ¶
func UserReadComputer(code string) (c structures.WebComputer)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.