package
Version:
v0.2.4-0...-2c2ceb1
Opens a new window with list of versions in this module.
Published: Nov 30, 2020
License: Apache-2.0, BSD-2-Clause
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
PluginName is the name of the web API PoW endpoint plugin.
Plugin gets the plugin instance.
type Request struct {
Difficulty int `json:"difficulty"`
}
Request contains the parameters of a pow tune request.
type Response struct {
Message string `json:"message"`
Error string `json:"error"`
}
Response is the HTTP response of a pow tune request.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.