diff options
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 ) |