aboutsummaryrefslogtreecommitdiff
path: root/const.go
diff options
context:
space:
mode:
Diffstat (limited to 'const.go')
-rw-r--r--const.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/const.go b/const.go
index 58640ee..fce1051 100644
--- a/const.go
+++ b/const.go
@@ -1,8 +1,9 @@
package bolt
-const Version = 1
+const version = 1
const (
- MaxKeySize = 0x8000
- MaxDataSize = 0xffffffff
+ MaxBucketNameSize = 255
+ MaxKeySize = 32768
+ MaxDataSize = 4294967295
)