testutils

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateClientEnvelope

func CreateClientEnvelope(aad ...*envelopes.AuthenticatedData) *envelopes.ClientEnvelope

func CreateGroupMessageClientEnvelope added in v0.1.1

func CreateGroupMessageClientEnvelope(
	groupID [32]byte,
	message []byte,
	targetOriginator uint32,
) *envelopes.ClientEnvelope

func CreateIdentityUpdateClientEnvelope added in v0.1.1

func CreateIdentityUpdateClientEnvelope(
	inboxID [32]byte,
	update *associations.IdentityUpdate,
) *envelopes.ClientEnvelope

func CreateOriginatorEnvelope

func CreateOriginatorEnvelope(
	t *testing.T,
	originatorNodeID uint32,
	originatorSequenceID uint64,
	payerEnv ...*envelopes.PayerEnvelope,
) *envelopes.OriginatorEnvelope

func CreateOriginatorEnvelopeWithTopic added in v0.1.1

func CreateOriginatorEnvelopeWithTopic(
	t *testing.T,
	originatorNodeID uint32,
	originatorSequenceID uint64,
	topic []byte,
) *envelopes.OriginatorEnvelope

func CreatePayerEnvelope

func CreatePayerEnvelope(
	t *testing.T,
	clientEnv ...*envelopes.ClientEnvelope,
) *envelopes.PayerEnvelope

func UnmarshalUnsignedOriginatorEnvelope

func UnmarshalUnsignedOriginatorEnvelope(
	t *testing.T,
	bytes []byte,
) *envelopes.UnsignedOriginatorEnvelope

Types

This section is empty.

Jump to

Keyboard shortcuts

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