controllers

package
v0.0.0-...-39205ac Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEmploye

func CreateEmploye(c *fiber.Ctx) error

Register Employe

func CreateHMIUser

func CreateHMIUser(c *fiber.Ctx) error

Creates an HMI User

func CreateHMIUserMachine

func CreateHMIUserMachine(c *fiber.Ctx) error

func CreateUser

func CreateUser(c *fiber.Ctx) error

Register User

func CreateViolation

func CreateViolation(c *fiber.Ctx) error

Register Violation

func DeleteAEmploye

func DeleteAEmploye(c *fiber.Ctx) error

Delete a Employe by :employeid

func DeleteAUser

func DeleteAUser(c *fiber.Ctx) error

Delete a User by :userid

func DeleteAViolation

func DeleteAViolation(c *fiber.Ctx) error

Delete a Violation by :violationId

func EditAEmploye

func EditAEmploye(c *fiber.Ctx) error

Edit a Employe by :employeid

func EditAUser

func EditAUser(c *fiber.Ctx) error

Edit a User by :userid

func EditAViolation

func EditAViolation(c *fiber.Ctx) error

Edit a Violation by :violationId

func GetAEmployeByID

func GetAEmployeByID(c *fiber.Ctx) error

Get a Employe By :employeid

func GetAUserByID

func GetAUserByID(c *fiber.Ctx) error

Get a User By :userid

func GetAViolationByID

func GetAViolationByID(c *fiber.Ctx) error

Get a Violation By :violationId

func GetAllEmployes

func GetAllEmployes(c *fiber.Ctx) error

Get all Employes from the Database

func GetAllUsers

func GetAllUsers(c *fiber.Ctx) error

Get all Users from the Database

func GetAllViolations

func GetAllViolations(c *fiber.Ctx) error

Get all Violations from the Database

func GetHMIUserPermission

func GetHMIUserPermission(c *fiber.Ctx) error

Get the HMI User Permission

func LoginUser

func LoginUser(c *fiber.Ctx) error

Login a User (S)

func LogoutUser

func LogoutUser(c *fiber.Ctx) error

Logsout User

Types

This section is empty.

Jump to

Keyboard shortcuts

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