station.js 351 B

1234567891011121314
  1. 'use strict';
  2. /**
  3. * Schema for a station stored / cached in redis,
  4. * gets created when a station is in use
  5. * and therefore is put into the redis cache
  6. *
  7. * @param station
  8. * @returns {Object}
  9. */
  10. module.exports = (station) => {
  11. // this is just the data from the DB for now, which we're just caching in memory for fast access
  12. return station;
  13. };