node-api/node/main.go

8 lines
143 B
Go
Raw Normal View History

2020-07-21 21:11:56 +00:00
package node
// GetNodeInfo returns information about this node
func GetNodeInfo() (*Node, error) {
node, err := index()
return node, err
}