models

package
v0.0.0-...-55932f0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 Init

func Init()

func ReadAll

func ReadAll() (num int64, c []structures.WebComputer)

func ReadCity

func ReadCity(id int) (error bool, code string, msg string)

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 ReadIdentity

func ReadIdentity(id uint) (error bool, cityid int, msg string)

func ReadRand

func ReadRand(city string, status int64) (c structures.WebComputer)

func ReadUserComputer

func ReadUserComputer(code string) (name string)

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 UpdateWebAccount(iserror int, updatetime int, id int) (error bool, num int64, mesg string)

func UpdateWebAccountIsaction

func UpdateWebAccountIsaction(id int) (error bool, num int64, mesg string)

func UserReadComputer

func UserReadComputer(code string) (c structures.WebComputer)

Types

This section is empty.

Jump to

Keyboard shortcuts

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