nullstore

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2025 License: Unlicense Imports: 3 Imported by: 1

README

nullstore is an eventstore that doesn't actually do anything. It doesn't store anything, it doesn't return anything.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NullStore

type NullStore struct{}

func (NullStore) Close

func (b NullStore) Close()

func (NullStore) DeleteEvent

func (b NullStore) DeleteEvent(ctx context.Context, evt *nostr.Event) error

func (NullStore) Init

func (b NullStore) Init() error

func (NullStore) QueryEvents

func (b NullStore) QueryEvents(ctx context.Context, filter nostr.Filter) (chan *nostr.Event, error)

func (NullStore) ReplaceEvent added in v0.15.0

func (b NullStore) ReplaceEvent(ctx context.Context, evt *nostr.Event) error

func (NullStore) SaveEvent

func (b NullStore) 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