mirror of
https://github.com/ferdzo/fs.git
synced 2026-04-05 08:26:28 +00:00
add admin v1 create/list/get HTTP endpoints
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user