()
| 317 | } |
| 318 | |
| 319 | func (wr *WebhookRequest) IncrementCount() int { |
| 320 | wr.mutex.Lock() |
| 321 | wr.count = wr.count + 1 |
| 322 | count := wr.count |
| 323 | wr.mutex.Unlock() |
| 324 | return count |
| 325 | } |
| 326 | |
| 327 | func (wr *WebhookRequest) GetSum() float64 { |
| 328 | wr.mutex.Lock() |
no test coverage detected