Fixing some API issues, adding a few API responses

This commit is contained in:
2018-03-01 15:31:11 -05:00
parent fb71ca9b4e
commit 6e0afd6e2a
3 changed files with 34 additions and 8 deletions

View File

@@ -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