Documentation
¶
Index ¶
Constants ¶
View Source
const ( // PermDefault are default permission bits for BlobStor data. PermDefault = 0o640 // DefaultFlushInterval is the default time interval between Peapod's batch writes // to disk. DefaultFlushInterval = 10 * time.Millisecond )
Various config defaults.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) FlushInterval ¶ added in v0.44.0
FlushInterval returns the value of "flush_interval" config parameter.
Returns DefaultFlushInterval if the value is not a positive duration.
func (*Config) Path ¶
Path returns the value of "path" config parameter.
Panics if the value is not a non-empty string.
Click to show internal directories.
Click to hide internal directories.