node_info

package
v0.0.0-...-12b7791 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNodeId

func GetNodeId() string

func InitNode

func InitNode() error

Types

type NodeInfo

type NodeInfo struct {
	Stor_total_bytes int64 `json:"stor_total_bytes"`
	Stor_used_bytes  int64 `json:"stor_used_bytes"`

	heart_beat.HardwareInfo
}

func GetNodeInfo

func GetNodeInfo() *NodeInfo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL