Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SaveAudioTestResult ¶
func SaveAudioTestResult(w http.ResponseWriter, r *http.Request)
Types ¶
type AudioData ¶
type AudioData struct {
NoiseLevels float64 `json:"noiseLevels"`
VolumeLevels float64 `json:"volumeLevels"`
Passed bool `json:"passed"`
Timestamp string `json:"timestamp"`
}
Write struct
type AudioDataPayload ¶
type AudioDataPayload struct {
Namespace string `json:"namespace"`
Interaction string `json:"interaction"`
Data AudioData `json:"data"`
}
################ Saving noise and volume level from test pages ########################// Request payload structure
Click to show internal directories.
Click to hide internal directories.