mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-03-17 21:32:56 +01:00
remove annotations from filter.
closes https://github.com/nbd-wtf/go-nostr/issues/128
This commit is contained in:
parent
8897cc36e4
commit
b00bf363c8
16
filter.go
16
filter.go
@ -10,14 +10,14 @@ import (
|
||||
type Filters []Filter
|
||||
|
||||
type Filter struct {
|
||||
IDs []string `json:"ids,omitempty"`
|
||||
Kinds []int `json:"kinds,omitempty"`
|
||||
Authors []string `json:"authors,omitempty"`
|
||||
Tags TagMap `json:"-,omitempty"`
|
||||
Since *Timestamp `json:"since,omitempty"`
|
||||
Until *Timestamp `json:"until,omitempty"`
|
||||
Limit int `json:"limit,omitempty"`
|
||||
Search string `json:"search,omitempty"`
|
||||
IDs []string
|
||||
Kinds []int
|
||||
Authors []string
|
||||
Tags TagMap
|
||||
Since *Timestamp
|
||||
Until *Timestamp
|
||||
Limit int
|
||||
Search string
|
||||
|
||||
// LimitZero is or must be set when there is a "limit":0 in the filter, and not when "limit" is just omitted
|
||||
LimitZero bool `json:"-"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user