Add hub stats function

This commit is contained in:
Alex
2017-01-08 17:10:17 +00:00
parent 37ad1e8e84
commit 86b4cfbb49
5 changed files with 87 additions and 0 deletions

View File

@ -0,0 +1,11 @@
Building:
```
# docker service rm hubstats ; docker service create --network=functions --name=hubstats alexellis2/dockerhub-stats
```
Query the function through the gateway:
```
# curl -X POST -d "alexellis2" -v http://localhost:8080/function/hubstats
```