block

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0, BSD-2-Clause Imports: 15 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 GetBlock

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

GetBlock is the handler for the /blocks/:blockID endpoint.

func GetBlockMetadata

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

GetBlockMetadata is the handler for the /blocks/:blockID/metadata endpoint.

func GetMarkerIndexConflictIDMapping added in v0.1.2

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

GetMarkerIndexConflictIDMapping is the handler for the /blocks/sequences/:sequenceID/markerindexconflictidmapping endpoint.

func GetSequence added in v0.1.2

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

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

func NewBlockMetadata added in v0.1.2

func NewBlockMetadata(metadata *mesh_old.BlockMetadata) jsonmodels.BlockMetadata

NewBlockMetadata returns BlockMetadata from the given mesh_old.BlockMetadata.

func PostPayload

func PostPayload(c echo.Context) error

PostPayload is the handler for the /blocks/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