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

Function NewAuthKeyController

src/controller/auth_key.controller.go:20–22  ·  view source on GitHub ↗
(authKeyService service.AuthKeyService)

Source from the content-addressed store, hash-verified

18}
19
20func NewAuthKeyController(authKeyService service.AuthKeyService) AuthKeyController {
21 return &authKeyController{authKeyService: authKeyService}
22}
23
24func (c *authKeyController) CreateAuthKey(ctx *fiber.Ctx) error {
25 authKey := types.CreateAuthKeyRequest{}

Callers 1

serveFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected