Documentation ¶
Index ¶
- type SQLite3Backend
- func (b *SQLite3Backend) AfterSave(evt *nostr.Event)
- func (b *SQLite3Backend) BeforeSave(evt *nostr.Event)
- func (b SQLite3Backend) DeleteEvent(id string, pubkey string) error
- func (b *SQLite3Backend) Init() error
- func (b SQLite3Backend) QueryEvents(filter *nostr.Filter) (events []nostr.Event, err error)
- func (b *SQLite3Backend) SaveEvent(evt *nostr.Event) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLite3Backend ¶
func (*SQLite3Backend) AfterSave ¶
func (b *SQLite3Backend) AfterSave(evt *nostr.Event)
func (*SQLite3Backend) BeforeSave ¶
func (b *SQLite3Backend) BeforeSave(evt *nostr.Event)
func (SQLite3Backend) DeleteEvent ¶
func (b SQLite3Backend) DeleteEvent(id string, pubkey string) error
func (*SQLite3Backend) Init ¶
func (b *SQLite3Backend) Init() error
func (SQLite3Backend) QueryEvents ¶
func (b SQLite3Backend) QueryEvents(filter *nostr.Filter) (events []nostr.Event, err error)
func (*SQLite3Backend) SaveEvent ¶
func (b *SQLite3Backend) SaveEvent(evt *nostr.Event) error
Click to show internal directories.
Click to hide internal directories.