fixtures

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 30 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 File

func File(t testing.TB) string

func SomeAlias

func SomeAlias() aliases.Alias

func SomeBanListHash

func SomeBanListHash() bans.Hash

func SomeBool

func SomeBool() bool

func SomeBytes

func SomeBytes() []byte

func SomeBytesOfLength

func SomeBytesOfLength(n int) []byte

func SomeConnectionId

func SomeConnectionId() rpc.ConnectionId

func SomeContent

func SomeContent() message.Content

func SomeDuration

func SomeDuration() time.Duration

func SomeError

func SomeError() error

func SomeHops

func SomeHops() graph.Hops

func SomeInvite

func SomeInvite() invites.Invite

func SomeJSON

func SomeJSON() []byte

func SomeLogger

func SomeLogger() logging.Logger

func SomeMessage

func SomeMessage(seq message.Sequence, feed refs.Feed) message.Message

func SomeMessageBodyType

func SomeMessageBodyType() transport.MessageBodyType

func SomeMessageHMAC

func SomeMessageHMAC() formats.MessageHMAC

func SomeMessageWithUniqueRawMessage

func SomeMessageWithUniqueRawMessage(seq message.Sequence, feed refs.Feed) message.Message

func SomeNegativeInt32

func SomeNegativeInt32() int32

func SomeNetworkKey

func SomeNetworkKey() boxstream.NetworkKey

func SomeNonNegativeInt

func SomeNonNegativeInt() int

func SomePositiveInt

func SomePositiveInt() int

func SomePositiveInt32

func SomePositiveInt32() int32

func SomePrivateIdentity

func SomePrivateIdentity() identity.Private

func SomeProcedureName

func SomeProcedureName() rpc.ProcedureName

func SomeProcedureType

func SomeProcedureType() rpc.ProcedureType

func SomePublicIdentity

func SomePublicIdentity() identity.Public

func SomeRawContent

func SomeRawContent() message.RawContent

func SomeRawMessage

func SomeRawMessage() message.RawMessage

func SomeReceiveLogSequence

func SomeReceiveLogSequence() common.ReceiveLogSequence

func SomeRefBlob

func SomeRefBlob() refs.Blob

func SomeRefFeed

func SomeRefFeed() refs.Feed

func SomeRefIdentity

func SomeRefIdentity() refs.Identity

func SomeRefMessage

func SomeRefMessage() refs.Message

func SomeSequence

func SomeSequence() message.Sequence

func SomeSize

func SomeSize() blobs.Size

func SomeString

func SomeString() string

func SomeTime

func SomeTime() time.Time

func SomeUint32

func SomeUint32() uint32

func SomeWantDistance

func SomeWantDistance() blobs.WantDistance

func TestContext

func TestContext(t testing.TB) context.Context

func TestFileRelativePath

func TestFileRelativePath(elem ...string) string

func TestLogger

func TestLogger(tb testing.TB) logging.Logger

Types

This section is empty.

Jump to

Keyboard shortcuts

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