Skip to content

fix: let consumer handle cleanup

Codecov / codecov/patch succeeded Dec 16, 2024 in 1s

61.47% of diff hit (target 17.74%)

View this Pull Request on Codecov

61.47% of diff hit (target 17.74%)

Annotations

Check warning on line 106 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L105-L106

Added lines #L105 - L106 were not covered by tests

Check warning on line 117 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L116-L117

Added lines #L116 - L117 were not covered by tests

Check warning on line 144 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L122-L144

Added lines #L122 - L144 were not covered by tests

Check warning on line 168 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L146-L168

Added lines #L146 - L168 were not covered by tests

Check warning on line 179 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L170-L179

Added lines #L170 - L179 were not covered by tests

Check warning on line 184 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L181-L184

Added lines #L181 - L184 were not covered by tests

Check warning on line 188 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L186-L188

Added lines #L186 - L188 were not covered by tests

Check warning on line 210 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L210

Added line #L210 was not covered by tests

Check warning on line 214 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L214

Added line #L214 was not covered by tests

Check warning on line 221 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L220-L221

Added lines #L220 - L221 were not covered by tests

Check warning on line 224 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L224

Added line #L224 was not covered by tests

Check warning on line 280 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L278-L280

Added lines #L278 - L280 were not covered by tests

Check warning on line 317 in cached_addr_book.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cached_addr_book.go#L313-L317

Added lines #L313 - L317 were not covered by tests

Check warning on line 46 in main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

main.go#L41-L46

Added lines #L41 - L46 were not covered by tests

Check warning on line 126 in main.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

main.go#L126

Added line #L126 was not covered by tests

Check warning on line 92 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L84-L92

Added lines #L84 - L92 were not covered by tests

Check warning on line 95 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L95

Added line #L95 was not covered by tests

Check warning on line 100 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L100

Added line #L100 was not covered by tests

Check warning on line 105 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L105

Added line #L105 was not covered by tests

Check warning on line 127 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L124-L127

Added lines #L124 - L127 were not covered by tests

Check warning on line 132 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L132

Added line #L132 was not covered by tests

Check warning on line 239 in server.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server.go#L239

Added line #L239 was not covered by tests

Check warning on line 64 in server_cached_router.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server_cached_router.go#L63-L64

Added lines #L63 - L64 were not covered by tests

Check warning on line 90 in server_cached_router.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server_cached_router.go#L89-L90

Added lines #L89 - L90 were not covered by tests

Check warning on line 170 in server_cached_router.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server_cached_router.go#L169-L170

Added lines #L169 - L170 were not covered by tests