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

Function init

cache/cache_test.go:9–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7var val []byte
8
9func init() {
10 runtimeCache = NewRuntimeCache()
11 key = "abc"
12 val = []byte("def")
13}
14
15func DoSet(cache Cache) {
16 expire := 60 // expire in 60 seconds

Callers

nothing calls this directly

Calls 1

NewRuntimeCacheFunction · 0.70

Tested by

no test coverage detected