Documentation ¶
Index ¶
Constants ¶
View Source
const NodeVersion = "3.1.20"
Variables ¶
This section is empty.
Functions ¶
func RestartNode ¶
func RestartNode() error
Types ¶
type VersionMgr ¶
func GetInstance ¶
func GetInstance() *VersionMgr
func GetInstance_ ¶
func GetInstance_(name string) *VersionMgr
func (*VersionMgr) CheckUpdate ¶
func (v *VersionMgr) CheckUpdate()
func (*VersionMgr) GetVersion ¶
func (v *VersionMgr) GetVersion() string
func (*VersionMgr) IsLatestVersion ¶
func (v *VersionMgr) IsLatestVersion() (isLatestVersion bool, latestVersion string, downloadHost string, err error)
Click to show internal directories.
Click to hide internal directories.