mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-24 08:02:32 +02:00
de34f259ba
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())) } |
||
---|---|---|
.. | ||
grpc | ||
mock | ||
mucp | ||
pool | ||
proto | ||
selector | ||
backoff_test.go | ||
backoff.go | ||
client.go | ||
common_test.go | ||
context.go | ||
options_test.go | ||
options.go | ||
retry.go | ||
rpc_client_test.go | ||
rpc_client.go | ||
rpc_codec.go | ||
rpc_message.go | ||
rpc_request_test.go | ||
rpc_request.go | ||
rpc_response.go | ||
rpc_stream.go | ||
wrapper.go |