Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(533)

Unified Diff: appengine/gaeauth/server/cache.go

Issue 2646733008: server/auth: Add in-process LRU-based cache. (Closed)
Patch Set: Rename GlobalCache => Cache, ProcCache => MemoryCache. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | appengine/gaemiddleware/context.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/gaeauth/server/cache.go
diff --git a/appengine/gaeauth/server/cache.go b/appengine/gaeauth/server/cache.go
index 1daf4cfcc5383ab24c486d910babbd6e57b14261..751ea90f8bde33b81f7a25b5018a8c20fe00163f 100644
--- a/appengine/gaeauth/server/cache.go
+++ b/appengine/gaeauth/server/cache.go
@@ -16,12 +16,12 @@ import (
"github.com/luci/luci-go/server/auth"
)
-// Memcache implements auth.GlobalCache on top of GAE memcache.
+// Memcache implements auth.Cache on top of GAE memcache.
type Memcache struct {
Namespace string
}
-var _ auth.GlobalCache = (*Memcache)(nil)
+var _ auth.Cache = (*Memcache)(nil)
// Get returns a cached item or (nil, nil) if it's not in the cache.
//
« no previous file with comments | « no previous file | appengine/gaemiddleware/context.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698