text: let io;
  
  module.exports = {
      init: httpServer => {
          io = require('socket.io')(httpServer);
          return io;
      },
      getIO: () => {
          if(!io) {
              throw new Error('Socket not found');
          }
  
          return io;
      }
  };