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

Unified Diff: luci_config/server/cfgclient/backend/caching/doc.go

Issue 2573403002: server/config: Generic caching backend. (Closed)
Patch Set: Updated interface, rebased 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
Index: luci_config/server/cfgclient/backend/caching/doc.go
diff --git a/luci_config/server/cfgclient/backend/caching/doc.go b/luci_config/server/cfgclient/backend/caching/doc.go
new file mode 100644
index 0000000000000000000000000000000000000000..a8e0e397929a3f804ff338189f9a67873f54b8cd
--- /dev/null
+++ b/luci_config/server/cfgclient/backend/caching/doc.go
@@ -0,0 +1,17 @@
+// Copyright 2015 The LUCI Authors. All rights reserved.
+// Use of this source code is governed under the Apache License, Version 2.0
+// that can be found in the LICENSE file.
+
+// Package caching implements a config.Interface that uses a caching layer to
+// store its configuration values.
+//
+// The Backend in this package is generic, and does not implement that actual
+// caching interface. Instead, the user should pair it with a cache
+// implementation by implementing its CacheGet method.
+//
+// Some example caches include:
+// - Process in-memory cache (proccache).
+// - memcache, or AppEngine's memcache service.
+// - A local storage cache (e.g., on-disk)
+// - A datastore cache.
+package caching
« no previous file with comments | « luci_config/server/cfgclient/backend/caching/config_test.go ('k') | luci_config/server/cfgclient/backend/caching/proccache.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698