block

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 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 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 GetReferences

func GetReferences(c echo.Context) error

func PostBlock

func PostBlock(c echo.Context) error

PostBlock is the handler for the /blocks endpoint.

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