Documentation
¶
Index ¶
- type BoltBackend
- func (b *BoltBackend) AfterSave(evt *nostr.Event)
- func (b *BoltBackend) BeforeSave(ctx context.Context, evt *nostr.Event)
- func (b *BoltBackend) DeleteEvent(ctx context.Context, id string, pubkey string) error
- func (b *BoltBackend) Init() error
- func (b BoltBackend) QueryEvents(ctx context.Context, filter *nostr.Filter) (ch chan *nostr.Event, err error)
- func (b *BoltBackend) SaveEvent(ctx context.Context, evt *nostr.Event) error
- type CursorLike
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoltBackend ¶
func (*BoltBackend) AfterSave ¶
func (b *BoltBackend) AfterSave(evt *nostr.Event)
func (*BoltBackend) BeforeSave ¶
func (b *BoltBackend) BeforeSave(ctx context.Context, evt *nostr.Event)
func (*BoltBackend) DeleteEvent ¶
func (*BoltBackend) Init ¶
func (b *BoltBackend) Init() error
func (BoltBackend) QueryEvents ¶
Click to show internal directories.
Click to hide internal directories.