aboutsummaryrefslogtreecommitdiff
path: root/routes/admin.go
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-10-26 22:33:30 -0300
committerFChannel <>2022-06-19 12:53:29 -0700
commitb97e0403c8f0be0bf415e537981763495ae0b783 (patch)
treec95f1879e0e8f075871372fece3f68b6c1b07ceb /routes/admin.go
parent48fefb76c0a908cc3fa00abc9c090ce3ac8cb560 (diff)
move routes to subpackage
Diffstat (limited to 'routes/admin.go')
-rw-r--r--routes/admin.go39
1 files changed, 39 insertions, 0 deletions
diff --git a/routes/admin.go b/routes/admin.go
new file mode 100644
index 0000000..068dda3
--- /dev/null
+++ b/routes/admin.go
@@ -0,0 +1,39 @@
+package routes
+
+import "github.com/gofiber/fiber/v2"
+
+func AdminVerify(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("admin verify")
+}
+
+func AdminAuth(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("admin auth")
+}
+
+func AdminIndex(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("admin index")
+}
+
+func AdminAddBoard(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("admin add board")
+}
+
+func AdminPostNews(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("admin post news")
+}
+
+func AdminNewsDelete(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("admin news delete")
+}