edgex_watermill

package module
v0.0.0-...-f2c0e0e Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

README

edgex-watermill

Watermill pub-sub binding for edgexfoundry application functions

Documentation

Index

Constants

View Source
const (
	EdgeXContentType = "edgex_content_type"
	EdgeXChecksum    = "edgex_checksum"
)

Variables

This section is empty.

Functions

func NewWatermillTrigger

func NewWatermillTrigger(publisher message.Publisher, subscriber message.Subscriber, format MessageFormat, ctx context.Context, contextFunc appsdk.TriggerContextBuilder, messageFunc appsdk.TriggerMessageProcessor) appsdk.Trigger

Types

type EdgeXMessageFormat

type EdgeXMessageFormat struct{}

type MessageFormat

type MessageFormat interface {
	// contains filtered or unexported methods
}

type RawInputMessageFormat

type RawInputMessageFormat struct{}

type RawMessageFormat

type RawMessageFormat struct{}

type RawOutputMessageFormat

type RawOutputMessageFormat struct{}

type WatermillClientOptions

type WatermillClientOptions struct {
	Marshaler   WatermillMarshaler
	Unmarshaler WatermillUnmarshaler
}

type WatermillMarshaler

type WatermillMarshaler func(envelope types.MessageEnvelope) (*message.Message, error)

type WatermillUnmarshaler

type WatermillUnmarshaler func(*message.Message) (types.MessageEnvelope, error)

Directories

Path Synopsis
amqp module
nats module

Jump to

Keyboard shortcuts

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