Fixing some API issues, adding a few API responses
This commit is contained in:
1 parent
fb71ca9b4e
commit
6e0afd6e2a
3 files changed
+34
-8
No files matched your search
@@ -19,6 +19,12 @@ type Message struct {
|
||||
|
||||
//Next are the messages the server sends to the client
|
||||
|
||||
//AuthResponse is sent when the client fails to perform authentication correctly
|
||||
type AuthResponse struct {
|
||||
MessageType string
|
||||
Payload string
|
||||
}
|
||||
|
||||
//ServerPushMessage is information (usually logs and status messages) that the server pushes to the client
|
||||
type ServerPushMessage struct {
|
||||
MessageType string
|
||||
|
||||
Reference in new issue
Block a user