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