micro/tunnel
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
..
transport add tunnel/transport package 2019-08-07 21:58:25 +01:00
default.go update service not found error tooltip 2019-08-11 19:31:22 +08:00
listener.go update service not found error tooltip 2019-08-11 19:31:22 +08:00
options.go Add back the old tunnel interface 2019-08-07 18:44:33 +01:00
socket.go Close the tunnel listener when the tunnel is cloed. 2019-08-08 15:20:53 +01:00
tunnel_test.go update service not found error tooltip 2019-08-11 19:31:22 +08:00
tunnel.go add tunnel/transport package 2019-08-07 21:58:25 +01:00