replayer

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2023 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplayEventsToRelays

func ReplayEventsToRelays(parameters *ReplayParameters)

Types

type EventWithPrivateKey

type EventWithPrivateKey struct {
	Event      nostr.Event
	PrivateKey string
}

type ReplayParameters

type ReplayParameters struct {
	MaxEventsToReplay        int
	RelaysToPublish          []string
	Mutex                    *sync.Mutex
	Queue                    *int
	WaitTime                 int64
	WaitTimeForRelayResponse int64
	Events                   []EventWithPrivateKey
}

Jump to

Keyboard shortcuts

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