mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-01 07:49:53 +02:00
large refactor, fixes #2
This commit is contained in:
parent
2729c66ccc
commit
7aa034f3ba
59 changed files with 2766 additions and 1345 deletions
15
server/internal/message/messages.go
Normal file
15
server/internal/message/messages.go
Normal file
|
@ -0,0 +1,15 @@
|
|||
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"`
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue