message

package
v1.0.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceTypeNodeConnection = "node/connection"
	OperationNodeConnection    = "publish"
	SourceNodeConnection       = "edgehub"
)

constant defining node connection types

Variables

This section is empty.

Functions

func BuildMsg

func BuildMsg(group, parentID, sourceName, resource, operation string, content interface{}) *model.Message

BuildMsg returns message object with router and content details

Types

This section is empty.

Jump to

Keyboard shortcuts

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