MCPcopy Create free account
hub / github.com/devfeel/dotweb / NewRuntimeCache

Function NewRuntimeCache

cache/cache.go:34–36  ·  view source on GitHub ↗

NewRuntimeCache new runtime cache

()

Source from the content-addressed store, hash-verified

32
33// NewRuntimeCache new runtime cache
34func NewRuntimeCache() Cache {
35 return runtime.NewRuntimeCache()
36}
37
38// NewRedisCache create new redis cache
39// must set serverURL like "redis://:password@10.0.1.11:6379/0"

Callers 2

initServerEnvironmentMethod · 0.92
initFunction · 0.70

Calls 1

NewRuntimeCacheFunction · 0.92

Tested by 1

initFunction · 0.56