Skip to content

routing/http: add ProvideRecords, ProvidePeerRecords for direct publish

Codecov / codecov/patch succeeded Feb 20, 2024 in 0s

60.00% of diff hit (target 65.59%)

View this Pull Request on Codecov

60.00% of diff hit (target 65.59%)

Annotations

Check warning on line 270 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L266-L270

Added lines #L266 - L270 were not covered by tests

Check warning on line 276 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L275-L276

Added lines #L275 - L276 were not covered by tests

Check warning on line 300 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L294-L300

Added lines #L294 - L300 were not covered by tests

Check warning on line 307 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L303-L307

Added lines #L303 - L307 were not covered by tests

Check warning on line 313 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L313

Added line #L313 was not covered by tests

Check warning on line 318 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L318

Added line #L318 was not covered by tests

Check warning on line 335 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L334-L335

Added lines #L334 - L335 were not covered by tests

Check warning on line 352 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L351-L352

Added lines #L351 - L352 were not covered by tests

Check warning on line 360 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L355-L360

Added lines #L355 - L360 were not covered by tests

Check warning on line 439 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L438-L439

Added lines #L438 - L439 were not covered by tests

Check warning on line 476 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L472-L476

Added lines #L472 - L476 were not covered by tests

Check warning on line 482 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L481-L482

Added lines #L481 - L482 were not covered by tests

Check warning on line 504 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L498-L504

Added lines #L498 - L504 were not covered by tests

Check warning on line 511 in routing/http/client/client.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/client/client.go#L507-L511

Added lines #L507 - L511 were not covered by tests

Check warning on line 103 in routing/http/contentrouter/contentrouter.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/contentrouter/contentrouter.go#L103

Added line #L103 was not covered by tests

Check warning on line 282 in routing/http/server/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/server/server.go#L280-L282

Added lines #L280 - L282 were not covered by tests

Check warning on line 299 in routing/http/server/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/server/server.go#L297-L299

Added lines #L297 - L299 were not covered by tests

Check warning on line 310 in routing/http/server/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/server/server.go#L308-L310

Added lines #L308 - L310 were not covered by tests

Check warning on line 344 in routing/http/server/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/server/server.go#L343-L344

Added lines #L343 - L344 were not covered by tests

Check warning on line 357 in routing/http/server/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/server/server.go#L355-L357

Added lines #L355 - L357 were not covered by tests

Check warning on line 371 in routing/http/server/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/server/server.go#L370-L371

Added lines #L370 - L371 were not covered by tests

Check warning on line 376 in routing/http/server/server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/server/server.go#L375-L376

Added lines #L375 - L376 were not covered by tests

Check warning on line 19 in routing/http/types/iter/filter.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/types/iter/filter.go#L18-L19

Added lines #L18 - L19 were not covered by tests

Check warning on line 31 in routing/http/types/ndjson/records.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/types/ndjson/records.go#L30-L31

Added lines #L30 - L31 were not covered by tests

Check warning on line 51 in routing/http/types/ndjson/records.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

routing/http/types/ndjson/records.go#L50-L51

Added lines #L50 - L51 were not covered by tests