fixtures

package
v0.0.0-...-5b00bd7 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Badger

func Badger(t testing.TB) *badger.DB

func Directory

func Directory(t testing.TB) string

func SomeBytesOfLength

func SomeBytesOfLength(n int) []byte

func SomeContent

func SomeContent() message.Content

func SomeDuration

func SomeDuration() time.Duration

func SomeMessage

func SomeMessage() message.Message

func SomeMessageWithFeedSequence

func SomeMessageWithFeedSequence(feed refs.Feed, sequence message.Sequence) message.Message

func SomePositiveInt

func SomePositiveInt() int

func SomePrivateIdentity

func SomePrivateIdentity() identity.Private

func SomePublicIdentity

func SomePublicIdentity() identity.Public

func SomeRawContent

func SomeRawContent() message.RawContent

func SomeRawMessage

func SomeRawMessage() message.RawMessage

func SomeRefFeed

func SomeRefFeed() refs.Feed

func SomeRefIdentity

func SomeRefIdentity() refs.Identity

func SomeRefMessage

func SomeRefMessage() refs.Message

func SomeSecretKeySeed

func SomeSecretKeySeed() domain.SecretKeySeed

func SomeSequence

func SomeSequence() message.Sequence

func SomeTime

func SomeTime() time.Time

Types

This section is empty.

Jump to

Keyboard shortcuts

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