(clock quartz.Clock)
| 96 | type CacheOption func(*cache) |
| 97 | |
| 98 | func WithCacheClock(clock quartz.Clock) CacheOption { |
| 99 | return func(d *cache) { |
| 100 | d.clock = clock |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | // NewSigningCache instantiates a cache. Close should be called to release resources |
| 105 | // associated with its internal timer. |
no outgoing calls