streamtest

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InmemStream

func InmemStream(t *testing.T) (stream.Publisher, stream.Subscription)

Types

type FailedSubscription added in v0.17.7

type FailedSubscription struct {
	Err error
}

func FailingSubscription added in v0.17.7

func FailingSubscription(err error) *FailedSubscription

func (*FailedSubscription) Receive added in v0.17.7

func (s *FailedSubscription) Receive(ctx context.Context) (*pubsub.Message, error)

func (*FailedSubscription) Shutdown added in v0.17.7

func (s *FailedSubscription) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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