package connections

import "encoding/json"

type InputMessageType uint8

const (
	InputMessageTypeGameCommand InputMessageType = iota
)

type InputMessage struct {
	Type    InputMessageType
	Payload json.RawMessage
}

package connections

import "encoding/json"

type InputMessageType uint8

const (
	InputMessageTypeSnakeCommand InputMessageType = iota
)

type InputMessage struct {
	Type    InputMessageType
	Payload json.RawMessage
}

Fix input message type name game to snake command
Fix input message type name game to snake command
