Documentation ¶
Index ¶
- Variables
- func CleanStart() (ok bool)
- func CleanTransactions() (ok bool)
- func CurrentMonitorVersion() (ok bool, version string)
- func GetCoinbase() (ok bool, data string)
- func GetFile(fichero string) (contenido string)
- func GetGithub(url string) (filename, contenido string, err error)
- func GetLog() (ok bool, data string)
- func LastNodeRestart() (ok bool, salida string)
- func LatestMonitorVersion() (ok bool, version string)
- func NodeVersion() (ok bool, salida string)
- func Propose(candidate string, value string) (ok bool)
- func Restart() bool
- func RestartNetwork(nodeType string, nodeName string) (ok bool)
- func RunCommand(command string) (ok bool, salida string)
- func RunCommandBackground(command string) (ok bool, salida string)
- func Start() (ok bool)
- func StartMining() (ok bool)
- func Status() (salida string)
- func Stop() (ok bool)
- func StopScript() (ok bool)
- func Update() bool
- func UpdateCron()
- func UpdateMonitor() (ok bool)
- func UpdateScript() (ok bool)
- type QuorumServices
Constants ¶
This section is empty.
Variables ¶
View Source
var IDENTITY, NODE_TYPE, STATIC, PERMISSIONED string
View Source
var PERMISSIONED_NODES = homeDir + beego.AppConfig.String("PermissionedNodesFileDir")
View Source
var STATIC_NODES = homeDir + beego.AppConfig.String("StaticNodesFileDir")
Functions ¶
func CurrentMonitorVersion ¶
Get current Version of the monitor
func LatestMonitorVersion ¶
Get latest Version of the monitor
func RestartNetwork ¶
Restart the complete network
func RunCommand ¶
func RunCommandBackground ¶
func UpdateScript ¶
func UpdateScript() (ok bool)
Types ¶
type QuorumServices ¶
type QuorumServices struct {
// contains filtered or unexported fields
}
func NewQuorumServices ¶
func NewQuorumServices(prefijo string) QuorumServices
Click to show internal directories.
Click to hide internal directories.