Documentation
¶
Index ¶
- func GetDMRelays(ctx context.Context, pubkey string, pool *nostr.SimplePool, ...) []string
- func ListenForMessages(ctx context.Context, pool *nostr.SimplePool, kr nostr.Keyer, ...) chan nostr.Event
- func PrepareMessage(ctx context.Context, content string, tags nostr.Tags, kr nostr.Keyer, ...) (toUs nostr.Event, toThem nostr.Event, err error)
- func PublishMessage(ctx context.Context, content string, tags nostr.Tags, pool *nostr.SimplePool, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDMRelays ¶
func ListenForMessages ¶
func ListenForMessages( ctx context.Context, pool *nostr.SimplePool, kr nostr.Keyer, ourRelays []string, since nostr.Timestamp, ) chan nostr.Event
ListenForMessages returns a channel with the rumors already decrypted and checked
func PrepareMessage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.