From ebc9f0da9e0d2fe90a4f9a820114d462fdf13178 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Wed, 8 Jan 2014 08:06:17 -0700 Subject: Basic types. --- const.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 const.go (limited to 'const.go') 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 +) -- cgit v1.2.3