(depth int, kind QueryEventKind, dur time.Duration, size uint64)
| 1187 | } |
| 1188 | |
| 1189 | func fireQueryEvent(depth int, kind QueryEventKind, dur time.Duration, size uint64) error { |
| 1190 | if RegistryQueryEventCallback != nil { |
| 1191 | return RegistryQueryEventCallback(depth, QueryEvent{Kind: kind, Duration: dur}, size) |
| 1192 | } |
| 1193 | return nil |
| 1194 | } |
| 1195 | |
| 1196 | func bleveCtxQueryStartCallback(size uint64) error { |
| 1197 | return fireQueryEvent(1, EventQueryStart, 0, size) |
no outgoing calls
no test coverage detected