clear is Clear without the lock.
(r *http.Request)
| 96 | |
| 97 | // clear is Clear without the lock. |
| 98 | func clear(r *http.Request) { |
| 99 | delete(data, r) |
| 100 | delete(datat, r) |
| 101 | } |
| 102 | |
| 103 | // Purge removes request data stored for longer than maxAge, in seconds. |
| 104 | // It returns the amount of requests removed. |