This module retrieves some stats from server
- Description:
This module retrieves some stats from server
- Source:
Methods
(static) getOverall(db, callback)
- Description:
Get overal server data
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
db |
object | database connection |
callback |
function | function to call when done |
(static) getServer(db, callback)
- Description:
Get minimal server data
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
db |
object | database connection |
callback |
function | function to call when done |
(static) getUser(db, user, callback)
- Description:
Get overal user data
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
db |
object | database connection |
user |
object | members document from db |
callback |
function | function to call when done |