mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-04-04 01:48:02 +02:00
sub.GetFilters()
This commit is contained in:
parent
b2885d57cd
commit
8bc91a894c
@ -19,6 +19,10 @@ type EventMessage struct {
|
||||
Relay string
|
||||
}
|
||||
|
||||
func (sub Subscription) GetFilters() Filters {
|
||||
return sub.filters
|
||||
}
|
||||
|
||||
func (sub Subscription) Unsub() {
|
||||
sub.conn.WriteJSON([]interface{}{"CLOSE", sub.id})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user