(timeoutInMinutes int, room string, user string, timerService string, disableSSLVerification bool)
| 153 | } |
| 154 | |
| 155 | func httpPutTimer(timeoutInMinutes int, room string, user string, timerService string, disableSSLVerification bool) error { |
| 156 | putBody, _ := json.Marshal(map[string]interface{}{ |
| 157 | "timer": timeoutInMinutes, |
| 158 | "user": user, |
| 159 | }) |
| 160 | client := httpclient.CreateHttpClient(disableSSLVerification) |
| 161 | _, err := client.SendRequest(putBody, "PUT", timerService+room) |
| 162 | return err |
| 163 | } |
| 164 | |
| 165 | func httpPutBreakTimer(timeoutInMinutes int, room string, user string, timerService string, disableSSLVerification bool) error { |
| 166 | putBody, _ := json.Marshal(map[string]interface{}{ |
no test coverage detected