Documentation ¶
Index ¶
- type StrfryBackend
- func (_ StrfryBackend) Close()
- func (s StrfryBackend) CountEvents(ctx context.Context, filter nostr.Filter) (int64, error)
- func (s StrfryBackend) DeleteEvent(ctx context.Context, evt *nostr.Event) error
- func (s *StrfryBackend) Init() error
- func (s StrfryBackend) QueryEvents(ctx context.Context, filter nostr.Filter) (chan *nostr.Event, error)
- func (s StrfryBackend) SaveEvent(ctx context.Context, evt *nostr.Event) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StrfryBackend ¶
func (StrfryBackend) Close ¶
func (_ StrfryBackend) Close()
func (StrfryBackend) CountEvents ¶
func (s StrfryBackend) CountEvents(ctx context.Context, filter nostr.Filter) (int64, error)
func (StrfryBackend) DeleteEvent ¶
func (s StrfryBackend) DeleteEvent(ctx context.Context, evt *nostr.Event) error
func (*StrfryBackend) Init ¶
func (s *StrfryBackend) Init() error
func (StrfryBackend) QueryEvents ¶
func (s StrfryBackend) QueryEvents(ctx context.Context, filter nostr.Filter) (chan *nostr.Event, error)
Click to show internal directories.
Click to hide internal directories.