Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PermDefault is a default permission bits for metabase file.
PermDefault = 0o660
)
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 boltdb specific parameters.
func (*Config) MaxBatchDelay ¶
MaxBatchDelay returns the value of "max_batch_delay" config parameter.
Returns 0 if the value is not a positive number.
func (*Config) MaxBatchSize ¶
MaxBatchSize returns the value of "max_batch_size" config parameter.
Returns 0 if the value is not a positive number.
func (*Config) NoSync ¶
NoSync returns the value of "no_sync" config parameter.
Returns false if the value is not a boolean.
Click to show internal directories.
Click to hide internal directories.