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

Method GetAllAuthKeys

src/controller/auth_key.controller.go:39–45  ·  view source on GitHub ↗
(ctx *fiber.Ctx)

Source from the content-addressed store, hash-verified

37}
38
39func (c *authKeyController) GetAllAuthKeys(ctx *fiber.Ctx) error {
40 authKeys, err := c.authKeyService.GetAllAuthKeys(ctx.Context())
41 if err != nil {
42 return utils.ErrorResponse(ctx, err.Error())
43 }
44 return utils.SuccessResponse(ctx, authKeys)
45}

Callers

nothing calls this directly

Calls 3

ErrorResponseFunction · 0.92
SuccessResponseFunction · 0.92
GetAllAuthKeysMethod · 0.65

Tested by

no test coverage detected