1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-11-23 21:44:41 +02:00

Fix health checker

This commit is contained in:
Asim
2015-05-21 23:06:01 +01:00
parent c9df1cf7d2
commit d67c1ba111
5 changed files with 61 additions and 17 deletions

View File

@@ -9,6 +9,7 @@ import (
"github.com/codegangsta/cli"
"github.com/myodc/go-micro/broker"
"github.com/myodc/go-micro/client"
"github.com/myodc/go-micro/registry"
"github.com/myodc/go-micro/server"
"github.com/myodc/go-micro/store"
@@ -113,6 +114,8 @@ func Setup(c *cli.Context) error {
transport.DefaultTransport = transport.NewNatsTransport(tAddrs)
}
client.DefaultClient = client.NewRpcClient()
return nil
}