Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/baidu/EasyFaaS
/ SetDefault
Method
SetDefault
pkg/util/cache/watch_cache.go:75–77 ·
view source on GitHub ↗
(k string, x interface{})
Source
from the content-addressed store, hash-verified
73
}
74
75
func
(wc *WatchCacheStore) SetDefault(k string, x
interface
{}) error {
76
return
wc.Set(k, x, DefaultExpiration)
77
}
78
79
func
(wc *WatchCacheStore) Delete(k string) {
80
wc.cache.Delete(k)
Callers
nothing calls this directly
Calls
1
Set
Method · 0.95
Tested by
no test coverage detected