alby-hub/nip47/controllers/models.go

14 lines
257 B
Go
Raw Normal View History

2024-06-17 19:42:09 +07:00
package controllers
import (
"github.com/getAlby/go-nostr"
2024-07-05 20:32:40 +07:00
"github.com/getAlby/hub/nip47/models"
2024-06-17 19:42:09 +07:00
)
type publishFunc = func(*models.Response, nostr.Tags)
type payResponse struct {
Preimage string `json:"preimage"`
FeesPaid uint64 `json:"fees_paid"`
2024-06-17 19:42:09 +07:00
}