From b97e0403c8f0be0bf415e537981763495ae0b783 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Tue, 26 Oct 2021 22:33:30 -0300 Subject: move routes to subpackage --- routes/boardmgmt.go | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 routes/boardmgmt.go (limited to 'routes/boardmgmt.go') diff --git a/routes/boardmgmt.go b/routes/boardmgmt.go new file mode 100644 index 0000000..12e133d --- /dev/null +++ b/routes/boardmgmt.go @@ -0,0 +1,47 @@ +package routes + +import "github.com/gofiber/fiber/v2" + +func BoardBanMedia(c *fiber.Ctx) error { + return c.SendString("board ban media") +} + +func BoardDelete(c *fiber.Ctx) error { + return c.SendString("board delete") +} + +func BoardDeleteAttach(c *fiber.Ctx) error { + return c.SendString("board delete attach") +} + +func BoardMarkSensitive(c *fiber.Ctx) error { + return c.SendString("board mark sensitive") +} + +func BoardRemove(c *fiber.Ctx) error { + return c.SendString("board remove") +} + +func BoardRemoveAttach(c *fiber.Ctx) error { + return c.SendString("board remove attach") +} + +func BoardAddToIndex(c *fiber.Ctx) error { + return c.SendString("board add to index") +} + +func BoardPopArchive(c *fiber.Ctx) error { + return c.SendString("board pop archive") +} + +func BoardAutoSubscribe(c *fiber.Ctx) error { + return c.SendString("board auto subscribe") +} + +func BoardBlacklist(c *fiber.Ctx) error { + return c.SendString("board blacklist") +} + +func BoardReport(c *fiber.Ctx) error { + return c.SendString("board report") +} -- cgit v1.2.3