Files
tma-back/protocol.go
2026-01-21 18:49:12 +03:00

13 lines
213 B
Go

package main
type InputMessage struct {
PlayerID string
DX float64 `json:"dx"`
DY float64 `json:"dy"`
}
type StateMessage struct {
Type string `json:"type"`
Payload any `json:"payload"`
}