16 lines
227 B
Go
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
|
||
|
}
|