aboutsummaryrefslogtreecommitdiff
path: root/internal/caching/caches.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/caching/caches.go')
-rw-r--r--internal/caching/caches.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/caching/caches.go b/internal/caching/caches.go
index 39926d73..722405de 100644
--- a/internal/caching/caches.go
+++ b/internal/caching/caches.go
@@ -1,5 +1,7 @@
package caching
+import "time"
+
// Caches contains a set of references to caches. They may be
// different implementations as long as they satisfy the Cache
// interface.
@@ -19,3 +21,5 @@ type Cache interface {
Set(key string, value interface{})
Unset(key string)
}
+
+const CacheNoMaxAge = time.Duration(0)