neko/server/internal/webrtc/messages.go

16 lines
203 B
Go
Raw Normal View History

2020-01-13 21:05:38 +13:00
package webrtc
type message struct {
Event string `json:"event"`
}
type messageIdentityProvide struct {
message
ID string `json:"id"`
}
type messageSDP struct {
message
SDP string `json:"sdp"`
}