(req *http.Request, path string)
| 190 | } |
| 191 | |
| 192 | func (c *AuthVersionHandler) doAudit(req *http.Request, path string) { |
| 193 | if c.adtSvc == nil { |
| 194 | return |
| 195 | } |
| 196 | eventId, ok := restAuditMap[req.Method+":"+path] |
| 197 | if ok { |
| 198 | d := GetAuditEventData(eventId, req) |
| 199 | go c.adtSvc.Write(eventId, d) |
| 200 | } |
| 201 | } |
| 202 | |
| 203 | // ----------------------------------------------------------------------------- |
| 204 |
no test coverage detected