package
1.0.1
Repository: https://github.com/go-warrior/pkg.git
Documentation: pkg.go.dev

# README

Config

kubernetes

go get -u github.com/go-kratos/kratos/contrib/config/kubernetes/v2

apollo

go get -u github.com/go-kratos/kratos/contrib/config/apollo/v2

etcd

go get -u github.com/go-kratos/kratos/contrib/config/etcd/v2

nacos

go get -u github.com/go-kratos/kratos/contrib/config/nacos/v2

# Packages

No description provided by the author
No description provided by the author

# Functions

New new a config with options.
WithDecoder with config decoder.
WithLogger with config logger.
WithResolver with config resolver.
WithSource with config source.

# Variables

ErrNotFound is key not found.
ErrTypeAssert is type assert error.

# Structs

KeyValue is config key value.

# Interfaces

Config is a config interface.
Reader is config reader.
Source is config source.
Value is config value interface.
Watcher watches a source for changes.

# Type aliases

Decoder is config decoder.
Observer is config observer.
Option is config option.
Resolver resolve placeholder in config.