add admin v1 create/list/get HTTP endpoints

This commit is contained in:
2026-03-02 23:38:58 +01:00
parent 828b7c7c34
commit 7a7f570882
4 changed files with 230 additions and 3 deletions

View File

@@ -98,9 +98,6 @@ func (h *Handler) setupRoutes() {
h.router.Delete("/{bucket}/*", h.handleDeleteObject)
}
func (h *Handler) registerAdminRoutes() {
}
func (h *Handler) handleHealth(w http.ResponseWriter, r *http.Request) {
if _, err := h.svc.ListBuckets(); err != nil {
w.Header().Set("Content-Type", "text/plain; charset=utf-8")