feat(auth): Add login, register, session_info and api creation
This commit is contained in:
11
app/controllers/api_key.go
Normal file
11
app/controllers/api_key.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package controllers
|
||||
|
||||
import (
|
||||
"git.secnex.io/secnex/auth-api/services"
|
||||
"github.com/gofiber/fiber/v2"
|
||||
)
|
||||
|
||||
func CreateApiKeyController(c *fiber.Ctx) error {
|
||||
response := services.CreateApiKey()
|
||||
return response.Send(c)
|
||||
}
|
||||
Reference in New Issue
Block a user