diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-01-08 08:06:17 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-01-08 08:06:17 -0700 |
commit | ebc9f0da9e0d2fe90a4f9a820114d462fdf13178 (patch) | |
tree | 287fb8791e03a70d5959c12dabab4bb25766d713 /const.go | |
parent | NOTES (diff) | |
download | dedo-ebc9f0da9e0d2fe90a4f9a820114d462fdf13178.tar.gz dedo-ebc9f0da9e0d2fe90a4f9a820114d462fdf13178.tar.xz |
Basic types.
Diffstat (limited to 'const.go')
-rw-r--r-- | const.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/const.go b/const.go new file mode 100644 index 0000000..3bbb8dc --- /dev/null +++ b/const.go @@ -0,0 +1,15 @@ +package bolt + +const Version = 1 + +const magic int32 = 0xBEEFC0DE + +const ( + MaxKeySize = 511 + MaxDataSize = 0xffffffff +) + +const ( + DefaultMapSize = 1048576 + DefaultReaderCount = 126 +) |