buffered

package
v0.14.7 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtoBroadcaster added in v0.14.7

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

func NewProtoBroadcaster added in v0.14.7

func NewProtoBroadcaster(log utils.Logger, bufferSize int, retryInterval time.Duration) ProtoBroadcaster

func (ProtoBroadcaster) Broadcast added in v0.14.7

func (b ProtoBroadcaster) Broadcast(msg proto.Message)

func (ProtoBroadcaster) Loop added in v0.14.7

func (b ProtoBroadcaster) Loop(ctx context.Context, topic *pubsub.Topic)

type TopicSubscription

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

func NewTopicSubscription

func NewTopicSubscription(log utils.Logger, bufferSize int, callback func(context.Context, *pubsub.Message)) TopicSubscription

func (TopicSubscription) Loop

func (b TopicSubscription) Loop(ctx context.Context, topic *pubsub.Topic)

Jump to

Keyboard shortcuts

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