Documentation ¶
Index ¶
- Variables
- func CleanStart() (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)
- 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 Status() (salida string)
- func Stop() (ok bool)
- func Update() bool
- func UpdateCron()
- func UpdateMonitor() (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 + "/alastria/data/permissioned-nodes.json"
View Source
var STATIC_NODES = homeDir + "/alastria/data/static-nodes.json"
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 ¶
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.