controllers

package
v0.0.0-...-24badab Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFeedback

func CreateFeedback(c *fiber.Ctx) error

Recieves user submitted content. Parse it and validate it then enqueue it to our task queue

func CreateWebsite

func CreateWebsite(c *fiber.Ctx) error

Create a new website

func DeleteWebsite

func DeleteWebsite(c *fiber.Ctx) error

Delete website

func GetWebsiteById

func GetWebsiteById(c *fiber.Ctx) error

Get one website by ID

func GetWebsiteFeedback

func GetWebsiteFeedback(c *fiber.Ctx) error

Get website's feedback message with a limit of 20 per page

func GetWebsiteSingleFeedback

func GetWebsiteSingleFeedback(c *fiber.Ctx) error

Getting a single website's feedback

func GetWebsites

func GetWebsites(c *fiber.Ctx) error

Get all websites with a limit of 20 per page

func UpdateWebsite

func UpdateWebsite(c *fiber.Ctx) error

Update website

Types

This section is empty.

Jump to

Keyboard shortcuts

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