mana

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: Apache-2.0, BSD-2-Clause Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const PluginName = "WebAPI Mana Endpoint"

PluginName is the name of the web API mana endpoint plugin.

Variables

This section is empty.

Functions

func GetDelegatedMana added in v0.6.0

func GetDelegatedMana(c echo.Context) error

GetDelegatedMana handles the GetDelegatedMana request.

func GetDelegatedOutputs added in v0.6.0

func GetDelegatedOutputs(c echo.Context) error

GetDelegatedOutputs handles the GetDelegatedOutputs requests.

func GetPendingMana added in v0.5.3

func GetPendingMana(c echo.Context) error

GetPendingMana handles the request.

func Plugin

func Plugin() *node.Plugin

Plugin gets the plugin instance.

Types

type GetDelegatedManaResponse added in v0.6.0

type GetDelegatedManaResponse struct {
	DelegatedMana uint64 `json:"delegatedMana"`
}

GetDelegatedManaResponse is the response struct for the GetDelegatedMana endpoint.

type GetDelegatedOutputsResponse added in v0.6.0

type GetDelegatedOutputsResponse struct {
	Outputs []*jsonmodels.Output `json:"delegatedOutputs"`
	Error   string               `json:"error,omitempty"`
}

GetDelegatedOutputsResponse is the response struct for the GetDelegatedOutputs endpoint.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL