This commit is contained in:
RamiBerm
2021-05-24 10:22:20 +03:00
parent c3e993bbc3
commit 24dba9e851
9 changed files with 29 additions and 145 deletions

View File

@@ -4,9 +4,10 @@ type ControlSocketMessageType string
const (
TAPPING_STATUS_MESSAGE_TYPE ControlSocketMessageType = "tappingStatus"
TAPPED_MESSAGE_TYPE ControlSocketMessageType = "tappedMessage"
)
type ControlSocketMessage struct {
type MizuSocketMessage struct {
MessageType ControlSocketMessageType `json:"messageType"`
Data interface{} `json:"data"`
}
@@ -19,4 +20,3 @@ type TapStatus struct {
type PodInfo struct {
Name string `json:"name"`
}