fakes

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeHookQueue

type FakeHookQueue struct {
	// contains filtered or unexported fields
}

func NewFakeHookQueue

func NewFakeHookQueue(t *testing.T) *FakeHookQueue

func (*FakeHookQueue) Add

func (q *FakeHookQueue) Add(ctx context.Context, message *sdk.EventHookMessage) error

func (*FakeHookQueue) Messages

func (q *FakeHookQueue) Messages() []sdk.EventHookMessage

type FakeMessageSender

type FakeMessageSender struct {
	// contains filtered or unexported fields
}

func NewFakeMessageSender

func NewFakeMessageSender(t *testing.T) *FakeMessageSender

func (*FakeMessageSender) EnsureTopology

func (s *FakeMessageSender) EnsureTopology(ctx context.Context, queueName string) error

func (*FakeMessageSender) Send

func (s *FakeMessageSender) Send(ctx context.Context, queueName string, messages ...any) ([]messaging.SendMessageResult, error)

Jump to

Keyboard shortcuts

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