Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NeverGCTicker = testingclock.NewFakeClock(time.Now()).NewTicker(0)
NeverGCTicker is a ticker that never ticks.
Functions ¶
This section is empty.
Types ¶
type CachedHTTPSGetter ¶
type CachedHTTPSGetter struct { trust.HTTPSGetter // contains filtered or unexported fields }
CachedHTTPSGetter is a HTTPS client that caches responses in memory.
func NewCachedHTTPSGetter ¶
func NewCachedHTTPSGetter(s store, ticker clock.Ticker, log *slog.Logger) *CachedHTTPSGetter
NewCachedHTTPSGetter returns a new CachedHTTPSGetter.
Click to show internal directories.
Click to hide internal directories.