//
pkg.gl
Category
github.com/go-kirito/pkg
zconfig
config
package
0.1.1
Repository:
https://github.com/go-kirito/pkg.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
21
Dependents
2
Files
470 SLOC
#
README
Config
Consul
Etcd
Kube
#
Packages
env
No description provided by the author
file
No description provided by the author
#
Functions
New
New new a config with options.
WithDecoder
WithDecoder with config decoder.
WithLogger
WithLogger with config logger.
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.
Observer
Observer is config observer.
Option
Option is config option.
Resolver
Resolver resolve placeholder in config.