delete.go 351 B

123456789101112131415161718
  1. package web
  2. import (
  3. "net/http"
  4. "github.com/gin-gonic/gin"
  5. "code.osinet.fr/fgm/sqs_demo/back/services/redriver"
  6. )
  7. func makeDeleteConfirmHandler(rd redriver.Redriver) gin.HandlerFunc {
  8. return func(c *gin.Context) {
  9. c.JSON(http.StatusServiceUnavailable, gin.H{
  10. "message": "deletion confirmation",
  11. "error": "not implemented",
  12. })
  13. }
  14. }