1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
go-micro/client/selector
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
..
dns Remove Port from registry 2019-07-08 08:01:42 +01:00
registry Move selector to client/selector 2019-06-21 15:13:54 +01:00
router Move proxy/router 2019-08-05 17:44:33 +01:00
static Remove Port from registry 2019-07-08 08:01:42 +01:00
common_test.go Remove Port from registry 2019-07-08 08:01:42 +01:00
default_test.go Move selector to client/selector 2019-06-21 15:13:54 +01:00
default.go update service not found error tooltip 2019-08-11 19:31:22 +08:00
filter_test.go Move selector to client/selector 2019-06-21 15:13:54 +01:00
filter.go Move selector to client/selector 2019-06-21 15:13:54 +01:00
options.go Move selector to client/selector 2019-06-21 15:13:54 +01:00
selector.go Move selector to client/selector 2019-06-21 15:13:54 +01:00
strategy_test.go Remove Port from registry 2019-07-08 08:01:42 +01:00
strategy.go Move selector to client/selector 2019-06-21 15:13:54 +01:00