Documentation ¶
Index ¶
Constants ¶
View Source
const PluginName = "WebAPIManaEndpoint"
PluginName is the name of the web API mana endpoint plugin.
Variables ¶
View Source
var ( // Plugin is the plugin instance of the web API mana endpoint plugin. Plugin *node.Plugin )
Functions ¶
func GetDelegatedMana ¶
GetDelegatedMana handles the GetDelegatedMana request.
func GetDelegatedOutputs ¶
GetDelegatedOutputs handles the GetDelegatedOutputs requests.
Types ¶
type GetDelegatedManaResponse ¶
type GetDelegatedManaResponse struct {
DelegatedMana uint64 `json:"delegatedMana"`
}
GetDelegatedManaResponse is the response struct for the GetDelegatedMana endpoint.
type GetDelegatedOutputsResponse ¶
type GetDelegatedOutputsResponse struct { Outputs []*jsonmodels.Output `json:"delegatedOutputs"` Error string `json:"error,omitempty"` }
GetDelegatedOutputsResponse is the response struct for the GetDelegatedOutputs endpoint.
Click to show internal directories.
Click to hide internal directories.