mirror of
https://github.com/krishpranav/remote-desktop.git
synced 2025-10-05 16:16:52 +08:00
19 lines
307 B
Go
19 lines
307 B
Go
package api
|
|
|
|
type newSessionRequest struct {
|
|
Offer string `json:"offer"`
|
|
Screen int `json:"screen"`
|
|
}
|
|
|
|
type newSessionResponse struct {
|
|
Answer string `json:"answer"`
|
|
}
|
|
|
|
type screenPayload struct {
|
|
Index int `json:"index"`
|
|
}
|
|
|
|
type screensResponse struct {
|
|
Screens []screenPayload `json:"screens"`
|
|
}
|