Skip to content

feat: add redis cache support

Codecov / codecov/patch failed Apr 8, 2024 in 0s

65.25% of diff hit (target 92.85%)

View this Pull Request on Codecov

65.25% of diff hit (target 92.85%)

Annotations

Check warning on line 41 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L41

Added line #L41 was not covered by tests

Check warning on line 46 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L46

Added line #L46 was not covered by tests

Check warning on line 48 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L48

Added line #L48 was not covered by tests

Check warning on line 66 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L65-L66

Added lines #L65 - L66 were not covered by tests

Check warning on line 98 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L98

Added line #L98 was not covered by tests

Check warning on line 112 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L111-L112

Added lines #L111 - L112 were not covered by tests

Check warning on line 114 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L114

Added line #L114 was not covered by tests

Check warning on line 121 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L120-L121

Added lines #L120 - L121 were not covered by tests

Check warning on line 123 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L123

Added line #L123 was not covered by tests

Check warning on line 128 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L127-L128

Added lines #L127 - L128 were not covered by tests

Check warning on line 144 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L143-L144

Added lines #L143 - L144 were not covered by tests

Check warning on line 146 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L146

Added line #L146 was not covered by tests

Check warning on line 159 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L158-L159

Added lines #L158 - L159 were not covered by tests

Check warning on line 161 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L161

Added line #L161 was not covered by tests

Check warning on line 175 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L175

Added line #L175 was not covered by tests

Check warning on line 179 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L179

Added line #L179 was not covered by tests

Check warning on line 202 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L202

Added line #L202 was not covered by tests

Check warning on line 204 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L204

Added line #L204 was not covered by tests

Check warning on line 223 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L223

Added line #L223 was not covered by tests

Check warning on line 229 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L229

Added line #L229 was not covered by tests

Check warning on line 231 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L231

Added line #L231 was not covered by tests

Check warning on line 237 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L236-L237

Added lines #L236 - L237 were not covered by tests

Check warning on line 239 in pkg/storage/cache/redis.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/storage/cache/redis.go#L239

Added line #L239 was not covered by tests