config: add default config

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-08-29 18:08:21 +03:00
parent 53654185ba
commit 112f21006c
1 changed files with 4 additions and 0 deletions

View File

@ -9,6 +9,10 @@ import (
"github.com/unistack-org/micro/v3/config/source"
)
var (
DefaultConfig Config
)
// Config is an interface abstraction for dynamic configuration
type Config interface {
// provide the reader.Values interface