socket: Explicitly communicate success

This commit updates the socket process to explicitly communicate the
process (and any potential error) on the server using a binary message.
This commit is contained in:
Tom Wiesing 2023-02-28 01:07:28 +01:00
parent 53f63d4efd
commit 746ebcd9e3
No known key found for this signature in database
12 changed files with 111 additions and 31 deletions

2
go.mod
View file

@ -9,6 +9,7 @@ require (
github.com/go-sql-driver/mysql v1.7.0
github.com/gorilla/csrf v1.7.1
github.com/gorilla/sessions v1.2.1
github.com/gorilla/websocket v1.5.0
github.com/julienschmidt/httprouter v1.3.0
github.com/pkg/errors v0.9.1
github.com/pquerna/otp v1.4.0
@ -32,7 +33,6 @@ require (
github.com/boombuler/barcode v1.0.1 // indirect
github.com/feiin/sqlstring v0.3.0 // indirect
github.com/gorilla/securecookie v1.1.1 // indirect
github.com/gorilla/websocket v1.5.0 // indirect
github.com/gosuri/uilive v0.0.4 // indirect
github.com/jessevdk/go-flags v1.5.0 // indirect
github.com/jinzhu/inflection v1.0.0 // indirect