producer

package
v1.4.17 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: Zlib Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Producer

type Producer interface {
	Start() error

	Stop()

	SendJson(topic string, event interface{}) error

	SendBytes(topic string, data []byte) error

	SendAsync(topic string, data []byte) error
}

func NewProducer

func NewProducer(cfg server.MqConfig) Producer

Jump to

Keyboard shortcuts

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