mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-24 08:05:02 +01:00
27 lines
604 B
Go
27 lines
604 B
Go
package controllers
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"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 {
|
|
transactions := []string{}
|
|
return c.JSON(http.StatusOK, &transactions)
|
|
}
|
|
|
|
func (GetTXSController) GetUserInvoices(c echo.Context) error {
|
|
transactions := []string{}
|
|
return c.JSON(http.StatusOK, &transactions)
|
|
}
|