Ajouter skelette de routes CRUD documents
This commit is contained in:
parent
6a095ef55b
commit
2373dfb681
1 changed files with 24 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue