1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-24 10:07:04 +02:00
go-micro/registry
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
..
cache Stop a goroutine leak in registy 2019-08-01 23:03:11 +01:00
consul fix the consul setup code 2019-08-06 19:43:46 +01:00
gossip Update registry util semantics 2019-07-04 11:36:49 +01:00
mdns Set MDNS as default registry 2019-01-15 16:50:37 +00:00
memory Remove Port from registry 2019-07-08 08:01:42 +01:00
encoding_test.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
encoding.go Set MDNS as default registry 2019-01-15 16:50:37 +00:00
mdns_registry.go Remove Port from registry 2019-07-08 08:01:42 +01:00
mdns_test.go Remove Port from registry 2019-07-08 08:01:42 +01:00
mdns_watcher.go Remove Port from registry 2019-07-08 08:01:42 +01:00
options.go registry: [gossip] add ConnectRetry and ConnectTimeout 2019-02-12 17:16:35 +03:00
registry.go update service not found error tooltip 2019-08-11 19:31:22 +08:00
service.go Remove Port from registry 2019-07-08 08:01:42 +01:00
util_test.go Remove Port from registry 2019-07-08 08:01:42 +01:00
util.go Preallocate nodes slice in addNodes before populating it 2019-07-15 14:47:33 +01:00
watcher_test.go Remove Port from registry 2019-07-08 08:01:42 +01:00
watcher.go Add watcher comments 2015-12-05 02:05:06 +00:00