Files
lndhub.go/pkg/controllers/checkpayment.ctrl.go
2022-01-13 20:11:15 +01:00

19 lines
382 B
Go

package controllers
import (
"github.com/labstack/echo/v4"
"net/http"
)
// CheckPaymentController : CheckPaymentController struct
type CheckPaymentController struct{}
// CheckPayment : Check Payment Controller
func (CheckPaymentController) CheckPayment(c echo.Context) error {
_ = c.Param("payment_hash")
return c.JSON(http.StatusBadRequest, echo.Map{
"paid": true,
})
}