summaryrefslogtreecommitdiffstats
path: root/store/layered_store_hints.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-06-27 08:02:08 -0700
committerGitHub <noreply@github.com>2017-06-27 08:02:08 -0700
commit9659a6da06852ede9bf6b87c0e39a543e88a5034 (patch)
tree56408b6104465af171a03f6a7eeb0b01099ab5e4 /store/layered_store_hints.go
parent28bf900205c71259369f9a05b349786a39084f5d (diff)
downloadchat-9659a6da06852ede9bf6b87c0e39a543e88a5034.tar.gz
chat-9659a6da06852ede9bf6b87c0e39a543e88a5034.tar.bz2
chat-9659a6da06852ede9bf6b87c0e39a543e88a5034.zip
Stage 1 of caching layer. Framework (#6693)
Diffstat (limited to 'store/layered_store_hints.go')
-rw-r--r--store/layered_store_hints.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/store/layered_store_hints.go b/store/layered_store_hints.go
new file mode 100644
index 000000000..6154af7c9
--- /dev/null
+++ b/store/layered_store_hints.go
@@ -0,0 +1,11 @@
+// Copyright (c) 2016-present Mattermost, Inc. All Rights Reserved.
+// See License.txt for license information.
+
+package store
+
+type LayeredStoreHint int
+
+const (
+ LSH_NO_CACHE LayeredStoreHint = iota
+ LSH_MASTER_ONLY
+)