1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00
go-micro/client
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
..
grpc update service not found error tooltip 2019-08-11 19:31:22 +08:00
mock rename reqBody variable to request 2019-05-02 18:06:43 +02:00
mucp check in this cruft 2019-06-08 19:40:44 +01:00
pool Move connection pool to own package 2019-07-28 18:56:18 +01:00
proto Add working grpc proxy config 2019-06-18 18:51:52 +01:00
selector update service not found error tooltip 2019-08-11 19:31:22 +08:00
backoff_test.go rename Streamer to Stream 2018-04-14 18:15:09 +01:00
backoff.go switch to stdlib context 2018-03-03 11:53:52 +00:00
client.go Update client.go 2019-07-22 15:41:14 +08:00
common_test.go Remove Port from registry 2019-07-08 08:01:42 +01:00
context.go switch to stdlib context 2018-03-03 11:53:52 +00:00
options_test.go move transport back 2019-07-09 18:41:26 +01:00
options.go Fix breaks and go fmt 2019-07-10 07:47:17 +01:00
retry.go retry only on timeout or internal server error 2018-07-22 17:41:58 +01:00
rpc_client_test.go Remove Port from registry 2019-07-08 08:01:42 +01:00
rpc_client.go update service not found error tooltip 2019-08-11 19:31:22 +08:00
rpc_codec.go Fix breaks and go fmt 2019-07-10 07:47:17 +01:00
rpc_message.go add message options 2018-05-10 17:33:54 +01:00
rpc_request_test.go rename method to endpoint 2019-01-10 21:25:31 +00:00
rpc_request.go Use protocol from node metadata 2019-01-18 12:30:39 +00:00
rpc_response.go move transport back 2019-07-09 18:41:26 +01:00
rpc_stream.go Use protocol from node metadata 2019-01-18 12:30:39 +00:00
wrapper.go Use protocol from node metadata 2019-01-18 12:30:39 +00:00