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
GetDelegatedMana handles the GetDelegatedMana request.
func GetDelegatedOutputs ¶ added in v0.6.0
GetDelegatedOutputs handles the GetDelegatedOutputs requests.
func GetPendingMana ¶ added in v0.5.3
GetPendingMana handles the request.
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.
Click to show internal directories.
Click to hide internal directories.