mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-22 15:14:51 +01:00
22 lines
482 B
Go
22 lines
482 B
Go
package controllers
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/getAlby/lndhub.go/db/models"
|
|
"github.com/getAlby/lndhub.go/lib/service"
|
|
"github.com/labstack/echo/v4"
|
|
)
|
|
|
|
// GetTXSController : GetTXSController struct
|
|
type GetTXSController struct{}
|
|
|
|
func NewGetTXSController(svc *service.LndhubService) *GetTXSController {
|
|
return &GetTXSController{}
|
|
}
|
|
|
|
// GetTXS : Get TXS Controller
|
|
func (GetTXSController) GetTXS(c echo.Context) error {
|
|
return c.JSON(http.StatusOK, &models.Invoice{})
|
|
}
|