MCPcopy 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
75func (wc *WatchCacheStore) SetDefault(k string, x interface{}) error {
76 return wc.Set(k, x, DefaultExpiration)
77}
78
79func (wc *WatchCacheStore) Delete(k string) {
80 wc.cache.Delete(k)

Callers

nothing calls this directly

Calls 1

SetMethod · 0.95

Tested by

no test coverage detected