From d6a7f5ef2d85e1e45538bf9e9ac57f9c67081878 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Wed, 31 Jul 2024 23:23:30 +0900 Subject: [PATCH] add Broadcast --- broadcasting.go | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 broadcasting.go diff --git a/broadcasting.go b/broadcasting.go new file mode 100644 index 0000000..5c2e9dd --- /dev/null +++ b/broadcasting.go @@ -0,0 +1,9 @@ +package relayer + +import ( + "github.com/nbd-wtf/go-nostr" +) + +func BroadcastEvent(evt *nostr.Event) { + notifyListeners(evt) +}