config: add default config
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
		| @@ -9,6 +9,10 @@ import ( | |||||||
| 	"github.com/unistack-org/micro/v3/config/source" | 	"github.com/unistack-org/micro/v3/config/source" | ||||||
| ) | ) | ||||||
|  |  | ||||||
|  | var ( | ||||||
|  | 	DefaultConfig Config | ||||||
|  | ) | ||||||
|  |  | ||||||
| // Config is an interface abstraction for dynamic configuration | // Config is an interface abstraction for dynamic configuration | ||||||
| type Config interface { | type Config interface { | ||||||
| 	// provide the reader.Values interface | 	// provide the reader.Values interface | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user