Documentation
¶
Overview ¶
Package config implements the configuration management of piladb.
Index ¶
Constants ¶
View Source
const CONFIG = "_config"
CONFIG represents the name of the database that will hold all the config values.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config represents a Database containing all configuration values that will be updated and consumed by piladb.
func (*Config) MaxStackSize ¶
MaxStackSize returns the value of MAX_STACK_SIZE. Type: int, Default: -1
func (*Config) ReadTimeout ¶
ReadTimeout returns the value of READ_TIMEOUT. Type: time.Duration, Default: 30
func (*Config) WriteTimeout ¶
WriteTimeout returns the value of WRITE_TIMEOUT. Type: time.Duration, Default: 45
Click to show internal directories.
Click to hide internal directories.