amqpsender

package
v0.0.0-...-f2350e3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMessage

func NewMessage(data []byte, props map[string]interface{}) *amqp.Message

func SendMessages

func SendMessages(hostname, port, filename, username, password string, topics []string, num int)

SendMessages ....

Types

type EventMessage

type EventMessage struct {
	Payload               map[string]interface{} `json:"payload"`
	ApplicationProperties map[string]interface{} `json:"properties"`
}

EventMessage message bluprint to send to bus

Jump to

Keyboard shortcuts

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