MCPcopy Create free account
hub / github.com/SwishHQ/spread / GetApps

Method GetApps

src/controller/app_controller.go:47–53  ·  view source on GitHub ↗
(c *fiber.Ctx)

Source from the content-addressed store, hash-verified

45}
46
47func (controller *appControllerImpl) GetApps(c *fiber.Ctx) error {
48 apps, err := controller.appService.GetApps(context.Background())
49 if err != nil {
50 return utils.ErrorResponse(c, "Error getting apps")
51 }
52 return utils.SuccessResponse(c, apps)
53}
54
55func (controller *appControllerImpl) GetAppById(c *fiber.Ctx) error {
56 id := c.Params("id")

Callers

nothing calls this directly

Calls 3

ErrorResponseFunction · 0.92
SuccessResponseFunction · 0.92
GetAppsMethod · 0.65

Tested by

no test coverage detected