aboutsummaryrefslogtreecommitdiff
path: root/routes/actor.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/actor.go
parent48fefb76c0a908cc3fa00abc9c090ce3ac8cb560 (diff)
move routes to subpackage
Diffstat (limited to 'routes/actor.go')
-rw-r--r--routes/actor.go57
1 files changed, 57 insertions, 0 deletions
diff --git a/routes/actor.go b/routes/actor.go
new file mode 100644
index 0000000..7fc9cb5
--- /dev/null
+++ b/routes/actor.go
@@ -0,0 +1,57 @@
+package routes
+
+import "github.com/gofiber/fiber/v2"
+
+func ActorIndex(c *fiber.Ctx) error {
+ // STUB
+ // TODO: OutboxGet, already implemented
+ return c.SendString("actor index")
+}
+
+func ActorPostGet(c *fiber.Ctx) error {
+ // STUB
+ // TODO: PostGet
+ return c.SendString("actor post")
+}
+
+func ActorInbox(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("actor inbox")
+}
+
+func ActorOutbox(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("actor outbox")
+}
+
+func ActorFollowing(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("actor following")
+}
+
+func ActorFollowers(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("actor followers")
+}
+
+func ActorReported(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("actor reported")
+}
+
+func ActorArchive(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("actor archive")
+}
+
+func ActorPost(c *fiber.Ctx) error {
+ // STUB
+
+ return c.SendString("actor post")
+}