feat(http): added features field to ee version
This commit is contained in:
parent
a79a280f96
commit
1bc96062fd
1 changed files with 20 additions and 19 deletions
|
|
@ -23,25 +23,26 @@ type StartSessionRequest struct {
|
|||
}
|
||||
|
||||
type StartSessionResponse struct {
|
||||
Timestamp int64 `json:"timestamp"`
|
||||
StartTimestamp int64 `json:"startTimestamp"`
|
||||
Delay int64 `json:"delay"`
|
||||
Token string `json:"token"`
|
||||
UserUUID string `json:"userUUID"`
|
||||
UserOS string `json:"userOS"`
|
||||
UserDevice string `json:"userDevice"`
|
||||
UserBrowser string `json:"userBrowser"`
|
||||
UserCountry string `json:"userCountry"`
|
||||
UserState string `json:"userState"`
|
||||
UserCity string `json:"userCity"`
|
||||
SessionID string `json:"sessionID"`
|
||||
ProjectID string `json:"projectID"`
|
||||
BeaconSizeLimit int64 `json:"beaconSizeLimit"`
|
||||
CompressionThreshold int64 `json:"compressionThreshold"`
|
||||
CanvasEnabled bool `json:"canvasEnabled"` // false default
|
||||
CanvasImageQuality string `json:"canvasQuality"` // low | medium | high
|
||||
CanvasFrameRate int `json:"canvasFPS"` // 2 default
|
||||
AssistOnly bool `json:"assistOnly"`
|
||||
Timestamp int64 `json:"timestamp"`
|
||||
StartTimestamp int64 `json:"startTimestamp"`
|
||||
Delay int64 `json:"delay"`
|
||||
Token string `json:"token"`
|
||||
UserUUID string `json:"userUUID"`
|
||||
UserOS string `json:"userOS"`
|
||||
UserDevice string `json:"userDevice"`
|
||||
UserBrowser string `json:"userBrowser"`
|
||||
UserCountry string `json:"userCountry"`
|
||||
UserState string `json:"userState"`
|
||||
UserCity string `json:"userCity"`
|
||||
SessionID string `json:"sessionID"`
|
||||
ProjectID string `json:"projectID"`
|
||||
BeaconSizeLimit int64 `json:"beaconSizeLimit"`
|
||||
CompressionThreshold int64 `json:"compressionThreshold"`
|
||||
CanvasEnabled bool `json:"canvasEnabled"` // false default
|
||||
CanvasImageQuality string `json:"canvasQuality"` // low | medium | high
|
||||
CanvasFrameRate int `json:"canvasFPS"` // 2 default
|
||||
AssistOnly bool `json:"assistOnly"`
|
||||
Features map[string]bool `json:"features"`
|
||||
}
|
||||
|
||||
func recordSession(req *StartSessionRequest) bool {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue