joeyak
a717c6ef38
Converting from conn.WriteMessage to conn.WriteJson
...
This takes away some of the work on the developers side to worry about parsing the object as a json string.
Backend work for issue #7
2019-03-15 17:28:29 -04:00
joeyak
678ccab95c
Add some backend infrastructure
...
The server can now send the client objects with data for the client to process.
issue #7
2019-03-15 02:19:16 -04:00
joeyak
60dd98a1e7
Add infrastructure for the client to send formatted data to the server
2019-03-14 15:21:53 -04:00
Zorchenhimer
653ff6fc9c
Some performance tweaks to the wasm code
...
Removed two fmt.Sprintf() calls and a fmt.Printf() call. The Printf()
was for debugging and isn't needed anymore. Sprintf() apparently
isn't all that performant.
2019-03-14 10:12:21 -04:00
joeyak
2ef3684c14
Some linting fixes for the common package
2019-03-13 21:24:14 -04:00
joeyak
d83d5225c8
Remove the log function which is no longer needed
2019-03-13 15:28:21 -04:00
Zorchenhimer
bdd4e71261
Flesh out the JSON stuff a bit more
...
Implement some commands in the wasm client code:
- /playing (setting and clearing)
- /refreshplayer
Commands not yet implemented:
- /purge (command doesn't exist yet on server)
- /help (doesn't open window)
2019-03-13 13:42:38 -04:00
Zorchenhimer
9c80269943
Start convert to JSON data b/t client and server
...
Chat and events should work. Commands do not work yet. Everything
also needs to be tested and cleaned up a bunch more.
2019-03-13 01:09:24 -04:00
joeyak
5544ac817f
Converted to code to using webassembly
2019-03-11 23:15:42 -04:00