mirror of
https://github.com/StarFleetCPTN/GoMFT.git
synced 2026-09-08 15:41:20 +02:00
13 lines
286 B
Go
13 lines
286 B
Go
package handlers
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// HandleBackupDB handles the POST /admin/backup route
|
|
func (h *Handlers) HandleBackupDB(c *gin.Context) {
|
|
// TODO: Implement database backup
|
|
c.JSON(http.StatusOK, gin.H{"message": "Database backup initiated"})
|
|
} |