1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-18 22:17:44 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
c1c173dfe5 recover handler if panic 2019-09-11 00:40:40 +08:00
ba99f037fb Lock started flag when changing it. 2019-08-23 15:07:08 +01:00
80dc0b97a9 Make server starts and stops idempotent 2019-08-23 15:00:57 +01:00
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
3adce58eb2 Add monitor/debug packages 2019-08-06 17:53:14 +01:00
beffa625f8 fix broker log line 2019-08-06 12:25:51 +01:00
1217ca94b1 bunch of other ipv6 fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-07-18 08:59:53 +03:00
e688ab0a45 fix ipv6 addr parsing and using
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2019-07-17 12:20:29 +03:00
e0bf1c2283 Remove Port from registry 2019-07-08 08:01:42 +01:00
c1097a4509 strip broker address 2019-07-07 12:33:47 +01:00
d8e998ad85 add peer in context 2019-06-27 14:53:01 +01:00
9630e153a5 fix grpc proto wrapper 2019-06-27 13:08:06 +01:00
d3a6297b17 Add working grpc proxy config 2019-06-18 18:51:52 +01:00
f65694670e add cruft 2019-06-17 20:05:58 +01:00
ed4bce3285 check in this cruft 2019-06-08 19:40:44 +01:00
44b17b7e4b strip use of cmd 2019-06-03 19:07:09 +01:00
b42b6fa0fc Further consolidate the libraries 2019-06-03 18:44:43 +01:00