neko/server/internal/message/messages.go

16 lines
190 B
Go
Raw Normal View History

2020-01-19 12:30:09 +13:00
package message
type Message struct {
Event string `json:"event"`
}
type IdentityProvide struct {
Message
ID string `json:"id"`
}
type SDP struct {
Message
SDP string `json:"sdp"`
}