Payload is the content of `payload` in the json
| 27 | |
| 28 | // Payload is the content of `payload` in the json |
| 29 | type Payload struct { |
| 30 | Msg *string `json:"msg,omitempty"` |
| 31 | Sdp *struct { |
| 32 | Type *string `json:"type,omitempty"` |
| 33 | Sdp *string `json:"sdp,omitempty"` |
| 34 | } `json:"sdp,omitempty"` |
| 35 | Type *string `json:"type,omitempty"` |
| 36 | Label *string `json:"label,omitempty"` |
| 37 | ConnectionID *string `json:"connectionId,omitempty"` |
| 38 | Reliable *bool `json:"reliable,omitempty"` |
| 39 | Serialization *string `json:"serialization,omitempty"` |
| 40 | Browser *string `json:"browser,omitempty"` |
| 41 | Candidate *struct { |
| 42 | Candidate *string `json:"candidate,omitempty"` |
| 43 | SdpMid *string `json:"sdpMid,omitempty"` |
| 44 | SdpMLineIndex *int `json:"sdpMLineIndex,omitempty"` |
| 45 | } `json:"candidate,omitempty"` |
| 46 | } |
| 47 | |
| 48 | // ParsePayload parses the payload if it is not parsed previously. This method |
| 49 | // can be called concurrently. |
nothing calls this directly
no outgoing calls
no test coverage detected