Documentation
¶
Index ¶
Constants ¶
View Source
const PluginName = "WebAPI info Endpoint"
PluginName is the name of the web API info endpoint plugin.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Response ¶
type Response struct {
// version of GoShimmer
Version string `json:"version,omitempty"`
// whether the node is synchronized
Synced bool `json:"synced"`
// identity ID of the node encoded in base58 and truncated to its first 8 bytes
IdentityID string `json:"identityID,omitempty"`
// public key of the node encoded in base58
PublicKey string `json:"publicKey,omitempty"`
// list of enabled plugins
EnabledPlugins []string `json:"enabledPlugins,omitempty"`
// list if disabled plugins
DisabledPlugins []string `json:"disabledPlugins,omitempty"`
// error of the response
Error string `json:"error,omitempty"`
}
Response holds the response of the GET request.
Click to show internal directories.
Click to hide internal directories.