controllers

package
v0.0.0-...-5db0057 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Chart

func Chart(c *fiber.Ctx) error

func CreateFile

func CreateFile(filePath string) error

func CreateProduct

func CreateProduct(c *fiber.Ctx) error

func CreateRole

func CreateRole(c *fiber.Ctx) error

func CreateUser

func CreateUser(c *fiber.Ctx) error

func DeleteProduct

func DeleteProduct(c *fiber.Ctx) error

func DeleteRole

func DeleteRole(c *fiber.Ctx) error

func DeleteUser

func DeleteUser(c *fiber.Ctx) error

func Export

func Export(c *fiber.Ctx) error

func GetAllOrders

func GetAllOrders(c *fiber.Ctx) error

func GetAllPermissions

func GetAllPermissions(c *fiber.Ctx) error

func GetAllProducts

func GetAllProducts(c *fiber.Ctx) error

func GetAllRoles

func GetAllRoles(c *fiber.Ctx) error

func GetAllUsers

func GetAllUsers(c *fiber.Ctx) error

func GetProduct

func GetProduct(c *fiber.Ctx) error

func GetRole

func GetRole(c *fiber.Ctx) error

func GetUser

func GetUser(c *fiber.Ctx) error

func Login

func Login(c *fiber.Ctx) error

func Logout

func Logout(c *fiber.Ctx) error

func Register

func Register(c *fiber.Ctx) error

func UpdateInfo

func UpdateInfo(c *fiber.Ctx) error

func UpdatePassword

func UpdatePassword(c *fiber.Ctx) error

func UpdateProduct

func UpdateProduct(c *fiber.Ctx) error

func UpdateRole

func UpdateRole(c *fiber.Ctx) error

func UpdateUser

func UpdateUser(c *fiber.Ctx) error

func Upload

func Upload(c *fiber.Ctx) error

func User

func User(c *fiber.Ctx) error

Types

type Sales

type Sales struct {
	Date string `json:"date"`
	Sum  string `json:"sum"`
}

Jump to

Keyboard shortcuts

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