mirror of
https://github.com/getAlby/lndhub.go.git
synced 2025-12-20 06:05:08 +01:00
struct tags
This commit is contained in:
@@ -19,7 +19,7 @@ type InvoiceStreamController struct {
|
|||||||
|
|
||||||
type InvoiceEventWrapper struct {
|
type InvoiceEventWrapper struct {
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Invoice *IncomingInvoice `json:"invoice, omitempty"`
|
Invoice *IncomingInvoice `json:"invoice,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewInvoiceStreamController(svc *service.LndhubService) *InvoiceStreamController {
|
func NewInvoiceStreamController(svc *service.LndhubService) *InvoiceStreamController {
|
||||||
|
|||||||
Reference in New Issue
Block a user