Documentation ¶
Index ¶
- Constants
- func CloseDatebase()
- func CreateEquipment(j []byte) (int64, error)
- func CreateUser(j []byte) int64
- func DeleteEquipmentById(id string) error
- func DeleteUserById(id string) error
- func DeleteUserByTag(tag string) error
- func FindEquipmentById(id string) ([]byte, error)
- func FindEquipmentByString(s string) ([]byte, error)
- func FindEquipmentsByInUse(inuse bool) ([]byte, error)
- func FindUserById(id string) ([]byte, error)
- func FindUserByTag(tag string) ([]byte, error)
- func LoadDatabase(path string)
- func LogByEquipId(id string) ([]byte, error)
- func LogByUserId(id string) ([]byte, error)
- func RentEquipment(id string, j []byte) error
- func ReturnEquipment(id string, j []byte) error
- func UpdateEquipment(id string, j []byte) error
- func UpdateUser(id string, j []byte) error
Constants ¶
View Source
const ( FIRST_U_NAME = "Matheus Souza" FIRST_U_TAG = "5B320FE6" FIRST_E_NAME = "Arduino Uno" )
Variables ¶
This section is empty.
Functions ¶
func CloseDatebase ¶
func CloseDatebase()
func CreateEquipment ¶
func CreateUser ¶
func DeleteEquipmentById ¶
func DeleteUserById ¶
func DeleteUserByTag ¶
func FindEquipmentById ¶
func FindEquipmentByString ¶
func FindEquipmentsByInUse ¶
func FindUserById ¶
func FindUserByTag ¶
func LoadDatabase ¶
func LoadDatabase(path string)
func LogByEquipId ¶
func LogByUserId ¶
func RentEquipment ¶
func ReturnEquipment ¶
func UpdateEquipment ¶
func UpdateUser ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.