mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-10-11 05:13:47 +02:00
add limit field to filter.
This commit is contained in:
@@ -10,9 +10,10 @@ type Filter struct {
|
|||||||
IDs StringList
|
IDs StringList
|
||||||
Kinds IntList
|
Kinds IntList
|
||||||
Authors StringList
|
Authors StringList
|
||||||
|
Tags TagMap
|
||||||
Since *time.Time
|
Since *time.Time
|
||||||
Until *time.Time
|
Until *time.Time
|
||||||
Tags TagMap
|
Limit int
|
||||||
}
|
}
|
||||||
|
|
||||||
type TagMap map[string]StringList
|
type TagMap map[string]StringList
|
||||||
|
Reference in New Issue
Block a user