micro/config/source
johnson de34f259ba update service not found error tooltip
fixing test failed issue

change back error type
change registry.ErrNotFound back to selector.ErrNotFound

change back error type
change registry.ErrNotFound back to selector.ErrNotFound

remove the single node tunnel test

Fix read yaml config from memory

package main

import (
	"fmt"

	"github.com/micro/go-micro/config"
	"github.com/micro/go-micro/config/source/memory"
)

var configData = []byte(`
---
a: 1234
`)

func main() {
	memorySource := memory.NewSource(
		memory.WithYAML(configData),
	)
	// Create new config
	conf := config.NewConfig()

	// Load file source
	conf.Load(memorySource)

	fmt.Println(string(conf.Bytes()))
}
2019-08-11 19:31:22 +08:00
..
cli Move cmd => config/cmd 2019-06-21 13:36:11 +01:00
consul rename stuff per feedback 2019-06-25 22:41:31 +08:00
env add config 2019-05-30 23:11:13 +01:00
file add config 2019-05-30 23:11:13 +01:00
flag add config 2019-05-30 23:11:13 +01:00
memory update service not found error tooltip 2019-08-11 19:31:22 +08:00
changeset.go add config 2019-05-30 23:11:13 +01:00
noop.go add config 2019-05-30 23:11:13 +01:00
options.go add config 2019-05-30 23:11:13 +01:00
source.go add config 2019-05-30 23:11:13 +01:00