You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
400 B
24 lines
400 B
package messages |
|
|
|
const ( |
|
Auth string = "Auth" |
|
Message string = "Message" |
|
PlayerAction string = "PlayerAction" |
|
System string = "System" |
|
) |
|
|
|
/* |
|
|
|
|
|
*/ |
|
|
|
type PlayerMsg struct { |
|
Type string "json:`Type`" |
|
Status int "json:`Status`" |
|
Message interface{} "json:`Message`" |
|
} |
|
|
|
type AuthMsg struct { |
|
Login string "json:`Login`" |
|
Password string "json:`Password`" |
|
}
|
|
|