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

Method GetTTL

lib/cachetypes/config.go:24–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24func (c CacheConfig) GetTTL() time.Duration {
25 return c.ttl
26}
27
28// NewCacheConfig creates a new CacheConfig instance.
29func NewCacheConfig(ttl time.Duration) *CacheConfig {

Callers 1

CacheMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected