node-api/node/main.go

8 lines
143 B
Go

package node
// GetNodeInfo returns information about this node
func GetNodeInfo() (*Node, error) {
node, err := index()
return node, err
}