diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-13 10:59:47 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-13 10:59:47 -0700 |
commit | 34005ecd76f65c18920e686e3bfdb9ad5e5754a2 (patch) | |
tree | 3597cf9a764ba9e99779477a70f7bb71848d1a4c /const.go | |
parent | Merge pull request #24 from benbjohnson/remap (diff) | |
parent | API Documentation. (diff) | |
download | dedo-34005ecd76f65c18920e686e3bfdb9ad5e5754a2.tar.gz dedo-34005ecd76f65c18920e686e3bfdb9ad5e5754a2.tar.xz |
Merge pull request #29 from benbjohnson/cleanup
API Documentation
Diffstat (limited to 'const.go')
-rw-r--r-- | const.go | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 ) |