j3k0 / ganomede-notifications

Long-pull notification service for Ganomede
0 stars 0 forks source link

Online list decouple #13

Closed elmigranto closed 9 years ago

elmigranto commented 9 years ago

Separated Online List API to independent module that can be used in any service.

It exports single function much like every other API module that returns route mounter ((prefix, server) function with GET /online endpoint) that has updateOnlineListMiddleware property containing restify middleware for updating list based on req.params.user.

j3k0 commented 9 years ago

Very good work! Ready to merge in?

elmigranto commented 9 years ago

Unless you'd like this to go to ganomede-helpers, feel free to merge.