Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/evcc-io/evcc
/ Get
Method
Get
util/cache.go:46–46 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
44
// Cacheable is the interface for a resettable cache
45
type
Cacheable[T any]
interface
{
46
Get() (T, error)
47
Reset()
48
}
49
Callers
15
dropCacheBusting
Function · 0.65
NewModbusSunspecFromConfig
Function · 0.65
StringGetter
Method · 0.65
plugin
Function · 0.65
HandleCallback
Method · 0.65
HandleCallback
Method · 0.65
NewFromConfig
Function · 0.65
RegisteredClient
Function · 0.65
CurrentPower
Method · 0.65
Currents
Method · 0.65
CurrentPower
Method · 0.65
batterySoc
Method · 0.65
Calls
no outgoing calls
Tested by
6
TestHandler
Function · 0.52
TestMergeRatesAfter
Function · 0.52
TestMonitorWithoutTimeout
Function · 0.52
TestCachedGetter
Function · 0.52
TestCacheReset
Function · 0.52
TestRetryWithBackoff
Function · 0.52