Documentation
¶
Index ¶
- func Event(kind domain.EventKind, tags []domain.EventTag, content string) domain.Event
- func RequireEqualEventSlices(tb testing.TB, a, b []domain.Event)
- func SomeBytesOfLen(l int) []byte
- func SomeDuration() time.Duration
- func SomeError() error
- func SomeEvent() domain.Event
- func SomeEventID() domain.EventId
- func SomeEventKind() domain.EventKind
- func SomeEventWithAuthor(sk string) domain.Event
- func SomeFile(t testing.TB) string
- func SomeHexBytesOfLen(l int) string
- func SomeKeyPair() (publicKey domain.PublicKey, secretKeyHex string)
- func SomeMaybeRelayAddress() domain.MaybeRelayAddress
- func SomePublicKey() domain.PublicKey
- func SomeRelayAddress() domain.RelayAddress
- func SomeString() string
- func SomeTime() time.Time
- func SomeTimeWindow() downloader.TimeWindow
- func TestContext(t testing.TB) context.Context
- func TestLogger(t testing.TB) logging.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SomeBytesOfLen ¶
func SomeDuration ¶
func SomeEventID ¶
func SomeEventKind ¶
func SomeEventWithAuthor ¶
func SomeHexBytesOfLen ¶
func SomeKeyPair ¶
func SomeMaybeRelayAddress ¶
func SomeMaybeRelayAddress() domain.MaybeRelayAddress
func SomePublicKey ¶
func SomeRelayAddress ¶
func SomeRelayAddress() domain.RelayAddress
func SomeString ¶
func SomeString() string
func SomeTimeWindow ¶
func SomeTimeWindow() downloader.TimeWindow
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.