Categorygithub.com/iph0/conf/v2
modulepackage
2.2.1
Repository: https://github.com/iph0/conf.git
Documentation: pkg.go.dev

# README

conf

GoDoc Go Report Card

Module conf is an extensible solution for cascading configuration. Module conf provides the configuration processor, that can load configuration layers from different sources and merges them into the one configuration tree. Module conf comes with built-in configuration loaders fileconf and envconf, and can be extended by third-party configuration loaders. Module conf do not watch for configuration changes, but you can implement this feature in the custom configuration loader. Configuration processor in conf module supports processing directives $include, $ref, $underlay and $overlay. See more information about directives in documentation.

See full documentation on GoDoc for more information.

# Packages

Package envconf is configuration loader for the conf package.
No description provided by the author
Package fileconf is configuration loader for the conf package.

# Functions

Decode method decodes raw configuration data into structure.
NewProcessor method creates new configuration processor instance.

# Structs

Processor loads configuration layers from different sources and merges them into the one configuration tree.
ProcessorConfig is a structure with configuration parameters for configuration processor.

# Interfaces

Loader is an interface for configuration loaders.

# Type aliases

A type is a convenient alias for a []any slice.
M type is a convenient alias for a map[string]any map.