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
func NewProtoBroadcaster ¶ added in v0.14.7
func NewProtoBroadcaster[M proto.Message]( log utils.Logger, bufferSize int, retryInterval time.Duration, rebroadcastStrategy RebroadcastStrategy[M], ) ProtoBroadcaster[M]
func (ProtoBroadcaster[M]) Broadcast ¶ added in v0.14.7
func (b ProtoBroadcaster[M]) Broadcast(ctx context.Context, msg M)
type RebroadcastStrategy ¶ added in v0.15.2
type RebroadcastStrategy[M proto.Message] interface { Receive(msg M, msgBytes []byte) rebroadcastMessages }
func NewRebroadcastStrategy ¶ added in v0.15.2
func NewRebroadcastStrategy[M proto.Message, K comparable](rebroadcastInterval time.Duration, getKey func(M) K) RebroadcastStrategy[M]
type TopicSubscription ¶
type TopicSubscription struct {
// contains filtered or unexported fields
}
func NewTopicSubscription ¶
Click to show internal directories.
Click to hide internal directories.