package
1.1.3
Repository: https://github.com/infinitbyte/framework.git
Documentation: pkg.go.dev

# Functions

AddPathToWatch should only be called for configuration paths.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LoadFiles will load configs from specify files.
No description provided by the author
No description provided by the author
MergeConfigs just merge configs together.
No description provided by the author
NewConfig create a pretty new config.
NewConfigFrom get config instance.
No description provided by the author
NewConfigWithYAML load config from yaml.
NewFlagConfig will use flags.
NewFlagOverwrite will use flags which specified.
No description provided by the author
No description provided by the author
NotifyOnConfigChange will trigger callback when any configuration file change detected.
NotifyOnConfigSectionChange will trigger callback when any configuration file change detected and configKey present in the changed file.
OwnerHasExclusiveWritePerms asserts that the current user or root is the owner of the config file and that the config file is (at most) writable by the owner or root (e.g.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ClusterConfig stores cluster settings.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LoggingConfig object to store logging related settings.
Namespace storing at most one configuration section by name and sub-section.
NetworkConfig stores network settings.
NodeConfig stores node settings.
PathConfig stores path settings.
No description provided by the author
No description provided by the author
No description provided by the author
Rule is container of rules.
Rules defines two fields, Should means any of the rules matched will be work Must means some rule must match MustNot means some rule must not match.
No description provided by the author
No description provided by the author
SystemConfig is a high priority config, init from the environment or startup, can't be changed on the fly, need to restart to make config apply.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author
Config object to store hierarchical configurations into.
No description provided by the author