diff options
Diffstat (limited to 'routes/actor.go')
-rw-r--r-- | routes/actor.go | 57 |
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") +} |