MCPcopy
hub / github.com/revel/revel / Add

Function Add

cache/cache.go:141–143  ·  view source on GitHub ↗
(key string, value interface{}, expires time.Duration)

Source from the content-addressed store, hash-verified

139}
140
141func Add(key string, value interface{}, expires time.Duration) error {
142 return Instance.Add(key, value, expires)
143}
144
145func Replace(key string, value interface{}, expires time.Duration) error {
146 return Instance.Replace(key, value, expires)

Callers

nothing calls this directly

Calls 1

AddMethod · 0.65

Tested by

no test coverage detected