Skip to content

Commit ef3835c

Browse files
authoredJul 31, 2024··
Merge pull request #124 from mattn/add-broadcast
add Broadcast
2 parents 274bdf0 + d6a7f5e commit ef3835c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎broadcasting.go

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
package relayer
2+
3+
import (
4+
"github.com/nbd-wtf/go-nostr"
5+
)
6+
7+
func BroadcastEvent(evt *nostr.Event) {
8+
notifyListeners(evt)
9+
}

0 commit comments

Comments
 (0)
Please sign in to comment.