Locker: add option function locker with time to live #50
0.00% of diff hit (target 17.56%)
View this Pull Request on Codecov
0.00% of diff hit (target 17.56%)
Annotations
Check warning on line 38 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L35-L38
Added lines #L35 - L38 were not covered by tests
Check warning on line 45 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L42-L45
Added lines #L42 - L45 were not covered by tests
Check warning on line 57 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L49-L57
Added lines #L49 - L57 were not covered by tests
Check warning on line 62 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L61-L62
Added lines #L61 - L62 were not covered by tests
Check warning on line 67 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L66-L67
Added lines #L66 - L67 were not covered by tests
Check warning on line 78 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L72-L78
Added lines #L72 - L78 were not covered by tests
Check warning on line 80 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L80
Added line #L80 was not covered by tests
Check warning on line 91 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L83-L91
Added lines #L83 - L91 were not covered by tests
Check warning on line 98 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L93-L98
Added lines #L93 - L98 were not covered by tests
Check warning on line 102 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L100-L102
Added lines #L100 - L102 were not covered by tests
Check warning on line 112 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L109-L112
Added lines #L109 - L112 were not covered by tests
Check warning on line 123 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L120-L123
Added lines #L120 - L123 were not covered by tests
Check warning on line 136 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L129-L136
Added lines #L129 - L136 were not covered by tests
Check warning on line 142 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L139-L142
Added lines #L139 - L142 were not covered by tests
Check warning on line 155 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L149-L155
Added lines #L149 - L155 were not covered by tests
Check warning on line 163 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L163
Added line #L163 was not covered by tests
Check warning on line 166 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L166
Added line #L166 was not covered by tests
Check warning on line 171 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L169-L171
Added lines #L169 - L171 were not covered by tests
Check warning on line 188 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L188
Added line #L188 was not covered by tests
Check warning on line 206 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L205-L206
Added lines #L205 - L206 were not covered by tests
Check warning on line 216 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L216
Added line #L216 was not covered by tests
Check warning on line 233 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L233
Added line #L233 was not covered by tests
Check warning on line 236 in candiutils/locker.go
codecov / codecov/patch
candiutils/locker.go#L236
Added line #L236 was not covered by tests