Update server side structure

This commit is contained in:
Bruno SIMON
2016-06-09 19:07:15 +02:00
parent 4ecc6103f0
commit bd936322ef
6 changed files with 152 additions and 38 deletions
+18
View File
@@ -0,0 +1,18 @@
'use strict'
class IDs
{
constructor()
{
this.last_id = 0
}
get_id()
{
return ++this.last_id
}
}
let ids = new IDs()
module.exports = ids