list-nodes command action (#87)

* list-nodes command action

* refactor stats into a package

* store existing stats in redis, more refactoring

* dz review: atomic load
This commit is contained in:
Mathew Kamkar
2021-08-24 10:14:39 -07:00
committed by GitHub
parent a8b0125e42
commit f5466c74e6
15 changed files with 428 additions and 294 deletions
+5
View File
@@ -123,6 +123,11 @@ func main() {
},
},
},
{
Name: "list-nodes",
Usage: "list all nodes",
Action: listNodes,
},
},
Version: version.Version,
}