producer

package
v0.0.0-...-ed33083 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const BROKER_URL = "http://localhost:3000"

Variables

This section is empty.

Functions

This section is empty.

Types

type Producer

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

Producer for queue events/messages

func NewProducer

func NewProducer(config ProducerConfig) *Producer

func (*Producer) Produce

func (p *Producer) Produce(msg api.Message) error

func (*Producer) ProduceBatch

func (p *Producer) ProduceBatch() error

type ProducerConfig

type ProducerConfig struct {
}

Jump to

Keyboard shortcuts

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