pubsub

package
v1.15.12 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2025 License: Apache-2.0 Imports: 11 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*options)

Option is a function that configures the process.

func WithPubSub

func WithPubSub(pubsub pubsub.PubSub) Option

func WithPullMessagesChannel added in v1.13.2

func WithPullMessagesChannel(ch <-chan *compv1pb.PullMessagesResponse) Option

func WithSocket added in v1.13.2

func WithSocket(socket *socket.Socket) Option

type PubSub

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

PubSub is a pluggable pubsub component for Dapr.

func New

func New(t *testing.T, fopts ...Option) *PubSub

func (*PubSub) Cleanup

func (p *PubSub) Cleanup(t *testing.T)

func (*PubSub) Run

func (p *PubSub) Run(t *testing.T, ctx context.Context)

func (*PubSub) SocketName

func (p *PubSub) SocketName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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