rgreen312 / OwlPlace

https://rgreen312.github.io/OwlPlace/
5 stars 1 forks source link

Gobs #24

Closed aidan-curtis closed 5 years ago

aidan-curtis commented 5 years ago

Fixes #23

We still need string encoding decoding for the KV store in dragonboat. But this at least converts the API/Consensus communication to only operate on gobs of data rather than having to format and parse data messages on either end.

Everything is the same except for the new commands to get and update the image are

http://localhost:3010/get_image
http://localhost:3010/update_pixel?X=10&Y=20&R=255&G=0&B=0