Commit graph

3 commits

Author SHA1 Message Date
Andreas Mieke bcbb789cdd Changing socket behaviour to not check for errors on read
This fixes #4, which crashed the server due to the endless
reading-loop and therefore the possibility for the slice
content to change in another goroutine.
2017-05-13 02:00:56 +02:00
Andreas Mieke 0dacd3645e Adds websocket-callback for all Item
This commit adds a callback which gets called on every
saved Item in the database, which prints JSON of that
Item-object to all connected websocket clients.
2017-01-19 19:49:53 +01:00
Andreas Mieke fc14acd76a Started work on Admin interface and websockets implementation 2017-01-19 02:00:09 +01:00