MCPcopy Create free account
hub / github.com/GoogleChrome/webstatus.dev / getTestRouteCacheOptions

Function getTestRouteCacheOptions

backend/pkg/httpserver/cache_test.go:61–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61func getTestRouteCacheOptions() RouteCacheOptions {
62 return RouteCacheOptions{
63 AggregatedFeatureStatsOptions: []cachetypes.CacheOption{
64 cachetypes.WithTTL(10),
65 },
66 }
67}
68
69// Cache implements the Cache method of the RawBytesDataCacher interface.
70func (m *MockRawBytesDataCacher) Cache(_ context.Context, key string, value []byte,

Calls

no outgoing calls

Tested by

no test coverage detected