node-api/nodes/main.go
2020-07-09 00:09:19 +02:00

16 lines
227 B
Go

package nodes
// Node keeps info about server
type Node struct {
PerformanceIndex int
}
// GetNodeInfo returns information about this node
func GetNodeInfo() *Node {
node := Node{
PerformanceIndex: 0,
}
return &node
}