diff options
author | Ben Morrison <ben@gbmor.dev> | 2020-05-09 02:13:29 -0400 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2020-05-09 02:13:29 -0400 |
commit | 1eab8d9a920942749547bcba80f9ad9e1c7cc276 (patch) | |
tree | d1b7f76dabf0847621a66e321b3a669220f3987c /cache.go | |
parent | d928c73de4c75f3113a4ddb3418789d950097fcb (diff) | |
download | api-1eab8d9a920942749547bcba80f9ad9e1c7cc276.tar.gz |
usercount query is done
Diffstat (limited to 'cache.go')
-rw-r--r-- | cache.go | 2 |
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 { |