Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PermDefault is a default permission bits for metabase file.
PermDefault = 0660
)
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 Metabase configurations.
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 as a bool value.
Returns false if the value is not a boolean.
Click to show internal directories.
Click to hide internal directories.