Documentation
¶
Index ¶
Constants ¶
View Source
const ( SIZE_1KiB = 1024 SIZE_1MiB = 1024 * SIZE_1KiB SIZE_1GiB = 1024 * SIZE_1MiB SIZE_SLICE = 512 * SIZE_1MiB )
byte size
View Source
const BlockInterval = time.Second * time.Duration(6)
BlockInterval is the time interval for generating blocks, in seconds
View Source
const DataShards = 2
View Source
const DbDir = "db"
View Source
const DirMode = 0755
View Source
const FileDir = "file"
View Source
const FragmentSize = 8 * SIZE_1MiB
View Source
const MaxBucketNameLength = 63
View Source
const MinBucketNameLength = 3
View Source
const ParShards = 1
View Source
const SegmentSize = 16 * SIZE_1MiB
View Source
const TempDir = "tmp"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.