message

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: Apache-2.0, BSD-2-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMessage added in v0.5.3

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

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

func GetMessageConsensusMetadata added in v0.5.7

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

GetMessageConsensusMetadata is the handler for the /messages/:messageID/consensus 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 NewMessageMetadata added in v0.6.4

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

NewMessageMetadata returns MessageMetadata from the given tangle.MessageMetadata.

func Plugin

func Plugin() *node.Plugin

Plugin returns the plugin as a singleton.

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