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 ErrEmptyTagSet = errors.New("empty tag set") + var ErrTooManyAuthors = errors.New("too many authors") + var ErrTooManyIDs = errors.New("too many ids") + var ErrTooManyKinds = errors.New("too many kinds") + var ErrTooManyTagValues = errors.New("too many tag values") + func EdgeDBEventToNostrEvent(event Event) (*nostr.Event, error) + type EdgeDBBackend struct + DatabaseURI string + QueryAuthorsLimit int + QueryIDsLimit int + QueryKindsLimit int + QueryLimit int + QueryTagsLimit int + TLSSkipVerify bool + func (b *EdgeDBBackend) Close() + func (b *EdgeDBBackend) DeleteEvent(ctx context.Context, event *nostr.Event) error + func (b *EdgeDBBackend) Init() error + func (b *EdgeDBBackend) QueryEvents(ctx context.Context, filter nostr.Filter) (chan *nostr.Event, error) + func (b *EdgeDBBackend) ReplaceEvent(ctx context.Context, evt *nostr.Event) error + func (b *EdgeDBBackend) SaveEvent(ctx context.Context, event *nostr.Event) error + func (b *EdgeDBBackend) SaveEvents(ctx context.Context, events []*nostr.Event) error + type Event struct + Content edgedb.OptionalStr + CreatedAt edgedb.OptionalDateTime + EventID string + ID edgedb.UUID + Kind int64 + Pubkey string + Sig string + Tags [][]byte + func NostrEventToEdgeDBEvent(event *nostr.Event) (Event, error)