mirror of https://github.com/etcd-io/bbolt.git
22 lines
404 B
Go
22 lines
404 B
Go
package bolt
|
|
|
|
const version = 1
|
|
|
|
const (
|
|
maxUint = ^uint(0)
|
|
minUint = 0
|
|
maxInt = int(^uint(0) >> 1)
|
|
minInt = -maxInt - 1
|
|
)
|
|
|
|
const (
|
|
// MaxBucketNameSize is the maximum length of a bucket name, in bytes.
|
|
MaxBucketNameSize = 255
|
|
|
|
// MaxKeySize is the maximum length of a key, in bytes.
|
|
MaxKeySize = 32768
|
|
|
|
// MaxValueSize is the maximum length of a value, in bytes.
|
|
MaxValueSize = 4294967295
|
|
)
|