Versions in this module Expand all Collapse all v0 v0.100.1 Jul 30, 2026 v0.100.0 Jan 30, 2026 Changes in this version + var EmptyTagSet = errors.New("empty tag set") + var TooManyAuthors = errors.New("too many authors") + var TooManyIDs = errors.New("too many ids") + var TooManyKinds = errors.New("too many kinds") + var TooManyTagValues = errors.New("too many tag values") + type SQLite3Backend struct + DatabaseURL string + QueryAuthorsLimit int + QueryIDsLimit int + QueryKindsLimit int + QueryLimit int + QueryTagsLimit int + func (b *SQLite3Backend) Close() + func (b *SQLite3Backend) Init() error + func (b *SQLite3Backend) ReplaceEvent(ctx context.Context, evt *nostr.Event) error + func (b *SQLite3Backend) SaveEvent(ctx context.Context, evt *nostr.Event) error + func (b *SQLite3Backend) SaveEvents(ctx context.Context, events []*nostr.Event) error + func (b SQLite3Backend) CountEvents(ctx context.Context, filter nostr.Filter) (int64, error) + func (b SQLite3Backend) DeleteEvent(ctx context.Context, evt *nostr.Event) error + func (b SQLite3Backend) QueryEvents(ctx context.Context, filter nostr.Filter) (ch chan *nostr.Event, err error)