server: stats endpoint (#468)

fixes #389
This commit is contained in:
C Cirello
2017-01-03 21:39:29 +01:00
committed by GitHub
parent 90092d2e8f
commit c48bd95fa6
6 changed files with 65 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ type Runner struct {
availableMem int64
usedMem int64
usedMemMutex sync.RWMutex
stats
}
var (