MCPcopy Create free account
hub / github.com/codealong-dev/ride-sharing / driverMessage

Struct driverMessage

services/api-gateway/ws.go:144–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142 }
143
144 type driverMessage struct {
145 Type string `json:"type"`
146 Data json.RawMessage `json:"data"`
147 }
148
149 var driverMsg driverMessage
150 if err := json.Unmarshal(message, &driverMsg); err != nil {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected