//
pkg.gl
Category
github.com/go-jimu/components
config
package
0.5.11
Repository:
https://github.com/go-jimu/components.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
21
Dependents
8
Files
637 SLOC
#
Packages
env
No description provided by the author
file
No description provided by the author
inmem
No description provided by the author
loader
No description provided by the author
#
Functions
New
New new a config with options.
WithDecoder
WithDecoder with config decoder.
WithMergeFunc
WithMergeFunc with config merge func.
WithResolveActualTypes
WithResolveActualTypes with config resolver.
WithResolver
WithResolver with config resolver.
WithSource
WithSource with config source.
#
Variables
ErrNotFound
ErrNotFound is key not found.
ErrTypeAssert
ErrTypeAssert is type assert error.
#
Structs
KeyValue
KeyValue is config key value.
#
Interfaces
Config
Config is a config interface.
Reader
Reader is config reader.
Source
Source is config source.
Value
Value is config value interface.
Watcher
Watcher watches a source for changes.
#
Type aliases
Decoder
Decoder is config decoder.
Merge
Merge is config merge func.
Observer
Observer is config observer.
Option
Option is config option.
Resolver
Resolver resolve placeholder in config.