From 2373dfb68122fb19664460997da02e22faeb44f3 Mon Sep 17 00:00:00 2001 From: Victor Lacasse-Beaudoin Date: Mon, 24 Apr 2023 17:05:18 -0400 Subject: [PATCH] Ajouter skelette de routes CRUD documents --- cmd/server.go | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/cmd/server.go b/cmd/server.go index 52dba15..0f513d6 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -296,6 +296,30 @@ func handleV1BucketRead(c echo.Context) error { return c.JSON(http.StatusOK, keys) } +func handleV1DocumentCreate(c echo.Context) error { + return c.JSON(http.StatusNotImplemented, map[string]string{ + "message": "Not Implemented", + }) +} + +func handleV1DocumentRead(c echo.Context) error { + return c.JSON(http.StatusNotImplemented, map[string]string{ + "message": "Not Implemented", + }) +} + +func handleV1DocumentUpdate(c echo.Context) error { + return c.JSON(http.StatusNotImplemented, map[string]string{ + "message": "Not Implemented", + }) +} + +func handleV1DocumentDelete(c echo.Context) error { + return c.JSON(http.StatusNotImplemented, map[string]string{ + "message": "Not Implemented", + }) +} + // HTML Handlers func handleIndex(c echo.Context) error {