This is not GitHub.com

Like what you see? Install OctoLinker now!

Skip to content
#

micro

Here are 471 public repositories matching this topic...

hb-chen
hb-chen commented Nov 21, 2019

Such as graphic, have 3 network gateway-a-1 gateway-a-2 gateway-a-3. Multi network within the same DC just broadcast it's directly connected network‘s routes.In this way, any call can only have a maximum of 2 routes to access the services of other DC.

gateway go.micro.srv.s-2 routes
gateway-a-1 gateway-b gateway-a-2 gateway-a-3
gateway-a-2 gateway-a-1 ~~ga
quexer
quexer commented Oct 16, 2019

Hello,

We're using etcdv3 with a self-signed cert. so we can't use the default micro binary although etcdv3 support has been built in since v1.11.0

Is there any approach to access it without rebuilding the micro binary?

If the rebuild is needed, where should I put the "tls.Config initialize" code?

micro version: 1.11.0

Thanks.

refer, #210 #178


update:

It seems mi

tetravalence
tetravalence commented Dec 2, 2019

In Get Started the following methods are undefined: OnSessionClosed, Register, SetSerializer, EnableDebug.

undefined: nano.OnSessionClosed
undefined: nano.Register
undefined: nano.SetSerializer
undefined: nano.EnableDebug

Then the example uses methods from both chat and cluster packages without import them.

bug
doubleycn
doubleycn commented Dec 6, 2019

i change micro code for consul:

package main

import (
	consulapi "github.com/hashicorp/consul/api"
	"github.com/micro/go-micro"
	"github.com/micro/go-plugins/registry/consul"
	"github.com/micro/micro/cmd"
	"os"
)

func main() {

	consulconf := consulapi.DefaultConfig()
	consulconf.Token = os.Getenv("CONSUL_TOKEN")
	consulconf.Address = os.Getenv("CONSUL_ADDRESS")
	reg := co
sean-roberts
sean-roberts commented Jan 12, 2017

Lots of useful information can be logged out to the user but that should only be provided in the debugging context. So, allow for a --debug option that will allow writes out. Have the services modules point to a reusable logging component. On init, we will tell that logging component if it should echo out the proceeding logs to the console.

Improve this page

Add a description, image, and links to the micro topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the micro topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.