Documentation ¶
Index ¶
- Variables
- func GetMarkerIndexBranchIDMapping(c echo.Context) (err error)
- func GetMessage(c echo.Context) (err error)
- func GetMessageMetadata(c echo.Context) (err error)
- func GetSequence(c echo.Context) (err error)
- func NewMessageMetadata(metadata *tangle.MessageMetadata) jsonmodels.MessageMetadata
- func PostPayload(c echo.Context) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Plugin holds the singleton instance of the plugin. Plugin *node.Plugin )
Functions ¶
func GetMarkerIndexBranchIDMapping ¶
GetMarkerIndexBranchIDMapping is the handler for the /messages/sequences/:sequenceID/markerindexbranchidmapping endpoint.
func GetMessage ¶
GetMessage is the handler for the /messages/:messageID endpoint.
func GetMessageMetadata ¶
GetMessageMetadata is the handler for the /messages/:messageID/metadata endpoint.
func GetSequence ¶
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 ¶
PostPayload is the handler for the /messages/payload endpoint.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.