api/parts/data/stats

This module retrieves some stats from server

Source:

Methods

(static) getOverall(db, callback)

Source:

Get overal server data

Parameters:
Name Type Description
db object

database connection

callback function

function to call when done

(static) getServer(db, callback)

Source:

Get minimal server data

Parameters:
Name Type Description
db object

database connection

callback function

function to call when done

(static) getUser(db, user, callback)

Source:

Get overal user data

Parameters:
Name Type Description
db object

database connection

user object

members document from db

callback function

function to call when done