From 8ad59edd02a8ea6001f15cd6d92944ae83c88f6d Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Wed, 12 Feb 2014 14:57:27 -0700 Subject: API Documentation. --- const.go | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'const.go') 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 ) -- cgit v1.2.3