about summary refs log tree commit diff stats
path: root/cache.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-05-09 02:13:29 -0400
committerBen Morrison <ben@gbmor.dev>2020-05-09 02:13:29 -0400
commit1eab8d9a920942749547bcba80f9ad9e1c7cc276 (patch)
treed1b7f76dabf0847621a66e321b3a669220f3987c /cache.go
parentd928c73de4c75f3113a4ddb3418789d950097fcb (diff)
downloadapi-1eab8d9a920942749547bcba80f9ad9e1c7cc276.tar.gz
usercount query is done
Diffstat (limited to 'cache.go')
-rw-r--r--cache.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cache.go b/cache.go
index d7839b8..a0d56eb 100644
--- a/cache.go
+++ b/cache.go
@@ -78,6 +78,8 @@ func (cache *cacheWrapper) bap(requestPath string) {
 		bytes, err = osVersionQuery(format)
 	case "uptime":
 		bytes, err = uptimeQuery(format)
+	case "usercount":
+		bytes, err = userCountQuery(format)
 	}
 
 	if err != nil {