message

package
v0.8.18 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2022 License: Apache-2.0, BSD-2-Clause Imports: 12 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

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

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

func GetMessage

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

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

func GetMessageMetadata

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

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

func GetSequence

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

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

func NewMessageMetadata

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

NewMessageMetadata returns MessageMetadata from the given tangle.MessageMetadata.

func PostPayload

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