Documentation ¶
Overview ¶
Package msg contains the RMX message types for communication between clients.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectMsg ¶
type Envelope ¶
type Envelope struct { // Message identifier ID uuid.UUID `json:"id"` // TextMsg | MIDIMsg | ConnectMsg Typ MsgType `json:"type"` // RMX client identifier UserID uuid.UUID `json:"userId"` // Actual message data. Payload json.RawMessage `json:"payload"` }
func (*Envelope) SetPayload ¶
Click to show internal directories.
Click to hide internal directories.