zmq_publisher

package
v0.0.0-...-07ee25d Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Publisher

type Publisher[Payload proto.Message] struct {
	// contains filtered or unexported fields
}

func New

func New[Payload proto.Message](
	host string,
	port int,
	eventName bus.EventName,
	eventVersion bus.EventVersion,
	publishersRegistry bus.PublishersRegistry,
) (*Publisher[Payload], error)

func (*Publisher[Payload]) Publish

func (p *Publisher[Payload]) Publish(eventKey bus.EventKey, eventPayload Payload) error

func (*Publisher[Payload]) Stop

func (p *Publisher[Payload]) Stop() error

Jump to

Keyboard shortcuts

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