feat(API): add API

This commit is contained in:
rick 2022-10-21 03:12:22 +02:00
commit 29472384da
Signed by: Rick
GPG key ID: 4A6223D66294EB20
7 changed files with 340 additions and 9 deletions
controllers

7
controllers/utils.go Normal file
View file

@ -0,0 +1,7 @@
package controllers
import "github.com/gofiber/fiber/v2"
func checkCookie(c *fiber.Ctx) string {
return c.Cookies("token", "")
}