summaryrefslogtreecommitdiff
path: root/src/hub/src/spreadspace.org/sfive/s5typesStore.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/hub/src/spreadspace.org/sfive/s5typesStore.go')
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5typesStore.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5typesStore.go b/src/hub/src/spreadspace.org/sfive/s5typesStore.go
index 9996018..67d38d1 100644
--- a/src/hub/src/spreadspace.org/sfive/s5typesStore.go
+++ b/src/hub/src/spreadspace.org/sfive/s5typesStore.go
@@ -45,6 +45,7 @@ var (
ErrSourceNotFound = errors.New("source entry not found")
ErrClientNotFound = errors.New("client entry not found")
ErrReadOnly = errors.New("store is in read-only mode")
+ ErrIndexCorrupt = errors.New("the search index seems to be corrupt")
)
const (
@@ -62,6 +63,9 @@ const (
userAgentsFwdBn = "UserAgentsFwd"
userAgentsRevBn = "UserAgentsRev"
+ // index buckets
+ timestampsIdxBn = "_timestamps"
+
// well-known keys
hubUUIDKey = "HubUUID"
storeVersionKey = "Version"