strfry

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2024 License: Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StrfryBackend

type StrfryBackend struct {
	ConfigPath     string
	ExecutablePath string
}

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)

func (StrfryBackend) SaveEvent

func (s StrfryBackend) SaveEvent(ctx context.Context, evt *nostr.Event) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL