Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultFlushInterval is a default time interval between Peapod's batch writes // to disk. DefaultFlushInterval = 10 * time.Millisecond )
Various Peapod config defaults.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config is a wrapper over the config section which provides access to Peapod configurations.
func (*Config) FlushInterval ¶
FlushInterval returns the value of "flush_interval" config parameter.
Returns DefaultFlushInterval if the value is not a positive duration.
Click to show internal directories.
Click to hide internal directories.