Ajouter skelette de routes CRUD documents

This commit is contained in:
Victor Lacasse-Beaudoin 2023-04-24 17:05:18 -04:00
parent 6a095ef55b
commit 2373dfb681

View file

@ -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 {