message

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: Apache-2.0, BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Plugin holds the singleton instance of the plugin.
	Plugin *node.Plugin
)

Functions

func GetMarkerIndexBranchIDMapping added in v0.8.0

func GetMarkerIndexBranchIDMapping(c echo.Context) (err error)

GetMarkerIndexBranchIDMapping is the handler for the /messages/sequences/:sequenceID/markerindexbranchidmapping endpoint.

func GetMessage added in v0.5.3

func GetMessage(c echo.Context) (err error)

GetMessage is the handler for the /messages/:messageID endpoint.

func GetMessageMetadata added in v0.5.3

func GetMessageMetadata(c echo.Context) (err error)

GetMessageMetadata is the handler for the /messages/:messageID/metadata endpoint.

func GetSequence added in v0.8.6

func GetSequence(c echo.Context) (err error)

GetSequence is the handler for the /messages/sequences/:sequenceID endpoint.

func NewMessageMetadata added in v0.6.4

func NewMessageMetadata(metadata *tangle.MessageMetadata) jsonmodels.MessageMetadata

NewMessageMetadata returns MessageMetadata from the given tangle.MessageMetadata.

func PostPayload added in v0.5.3

func PostPayload(c echo.Context) error

PostPayload is the handler for the /messages/payload endpoint.

Types

This section is empty.

Jump to

Keyboard shortcuts

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