Files
lndhub.go/pkg/controllers/checkpayment.ctrl.go
Roman Useinov 7af5b2c54b sort imports
2022-01-14 20:42:32 +00:00

20 lines
383 B
Go

package controllers
import (
"net/http"
"github.com/labstack/echo/v4"
)
// 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,
})
}