Categorygithub.com/iqinning/go-config
modulepackage
2.0.0+incompatible
Repository: https://github.com/iqinning/go-config.git
Documentation: pkg.go.dev

# README

Fork: Config : github.com/micro/go-config

# Packages

Package encoder handles source encoding formats.
package loader manages loading from multiple sources.
Package reader parses change sets and provides config values.
Package source is the interface for sources.

# Functions

Return config as raw json.
Get a value from the config.
Load config sources.
LoadFile is short hand for creating a file source and loading it.
Return config as a map.
NewConfig returns new config.
Scan values to a go type.
Force a source changeset sync.
Watch a value for changes.
WithLoader sets the loader for manager config.
WithReader sets the config reader.
WithSource appends a source to list of sources.

# Variables

Default Config Manager.

# Structs

No description provided by the author

# Interfaces

Config is an interface abstraction for dynamic configuration.
Watcher is the config watcher.

# Type aliases

No description provided by the author