aboutsummaryrefslogtreecommitdiff
path: root/const.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-02-12 14:57:27 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-02-13 10:58:27 -0700
commit8ad59edd02a8ea6001f15cd6d92944ae83c88f6d (patch)
tree3597cf9a764ba9e99779477a70f7bb71848d1a4c /const.go
parentMmap remap. (diff)
downloaddedo-8ad59edd02a8ea6001f15cd6d92944ae83c88f6d.tar.gz
dedo-8ad59edd02a8ea6001f15cd6d92944ae83c88f6d.tar.xz
API Documentation.
Diffstat (limited to 'const.go')
-rw-r--r--const.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/const.go b/const.go
index fce1051..9ad7d25 100644
--- a/const.go
+++ b/const.go
@@ -3,7 +3,12 @@ package bolt
const version = 1
const (
+ // MaxBucketNameSize is the maximum length of a bucket name, in bytes.
MaxBucketNameSize = 255
- MaxKeySize = 32768
- MaxDataSize = 4294967295
+
+ // MaxKeySize is the maximum length of a key, in bytes.
+ MaxKeySize = 32768
+
+ // MaxValueSize is the maximum length of a value, in bytes.
+ MaxValueSize = 4294967295
)