diff options
author | KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> | 2021-10-26 22:33:30 -0300 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | b97e0403c8f0be0bf415e537981763495ae0b783 (patch) | |
tree | c95f1879e0e8f075871372fece3f68b6c1b07ceb /routes/boardmgmt.go | |
parent | 48fefb76c0a908cc3fa00abc9c090ce3ac8cb560 (diff) |
move routes to subpackage
Diffstat (limited to 'routes/boardmgmt.go')
-rw-r--r-- | routes/boardmgmt.go | 47 |
1 files changed, 47 insertions, 0 deletions
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") +} |