use websocket message.

This commit is contained in:
Miroslav Šedivý
2021-08-29 23:00:51 +02:00
parent 47d0359106
commit c82a083fb6
4 changed files with 42 additions and 33 deletions

View File

@ -6,11 +6,6 @@ import (
"demodesk/neko/internal/types"
)
type Message struct {
Event string `json:"event"`
Payload interface{} `json:"payload"` // TODO: New.
}
/////////////////////////////
// System
/////////////////////////////