mirror of
https://github.com/fiatjaf/nak.git
synced 2025-12-13 02:28:50 +00:00
view: basic req functionality.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"encoding/hex"
|
||||
"os"
|
||||
"strings"
|
||||
@@ -10,6 +11,7 @@ import (
|
||||
"fiatjaf.com/nostr"
|
||||
"fiatjaf.com/nostr/nip19"
|
||||
"fiatjaf.com/nostr/nip49"
|
||||
"fiatjaf.com/nostr/sdk"
|
||||
"github.com/therecipe/qt/widgets"
|
||||
)
|
||||
|
||||
@@ -18,6 +20,8 @@ var (
|
||||
currentKeyer nostr.Keyer
|
||||
statusLabel *widgets.QLabel
|
||||
debounced = debouncer.New(800 * time.Millisecond)
|
||||
sys = sdk.NewSystem()
|
||||
ctx = context.Background()
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
Reference in New Issue
Block a user