encodeTaskID encodes a task ID as 8 hex characters.
(taskID uint32)
| 68 | |
| 69 | // encodeTaskID encodes a task ID as 8 hex characters. |
| 70 | func encodeTaskID(taskID uint32) string { |
| 71 | return fmt.Sprintf("%08x", taskID) |
| 72 | } |
| 73 | |
| 74 | // ShouldInject checks the request's tools array against the configured injection rules |
| 75 | // and returns the first matching enabled rule, or nil if none match. |
no outgoing calls
no test coverage detected