go fmt
This commit is contained in:
parent
59eaa89bac
commit
97cf2cd7c3
@ -14,8 +14,8 @@ import (
|
|||||||
cgrpc "github.com/micro/go-micro/client/grpc"
|
cgrpc "github.com/micro/go-micro/client/grpc"
|
||||||
cmucp "github.com/micro/go-micro/client/mucp"
|
cmucp "github.com/micro/go-micro/client/mucp"
|
||||||
"github.com/micro/go-micro/server"
|
"github.com/micro/go-micro/server"
|
||||||
smucp "github.com/micro/go-micro/server/mucp"
|
|
||||||
sgrpc "github.com/micro/go-micro/server/grpc"
|
sgrpc "github.com/micro/go-micro/server/grpc"
|
||||||
|
smucp "github.com/micro/go-micro/server/mucp"
|
||||||
"github.com/micro/go-micro/util/log"
|
"github.com/micro/go-micro/util/log"
|
||||||
|
|
||||||
// brokers
|
// brokers
|
||||||
@ -180,7 +180,7 @@ var (
|
|||||||
}
|
}
|
||||||
|
|
||||||
DefaultClients = map[string]func(...client.Option) client.Client{
|
DefaultClients = map[string]func(...client.Option) client.Client{
|
||||||
"rpc": client.NewClient,
|
"rpc": client.NewClient,
|
||||||
"mucp": cmucp.NewClient,
|
"mucp": cmucp.NewClient,
|
||||||
"grpc": cgrpc.NewClient,
|
"grpc": cgrpc.NewClient,
|
||||||
}
|
}
|
||||||
@ -200,7 +200,7 @@ var (
|
|||||||
}
|
}
|
||||||
|
|
||||||
DefaultServers = map[string]func(...server.Option) server.Server{
|
DefaultServers = map[string]func(...server.Option) server.Server{
|
||||||
"rpc": server.NewServer,
|
"rpc": server.NewServer,
|
||||||
"mucp": smucp.NewServer,
|
"mucp": smucp.NewServer,
|
||||||
"grpc": sgrpc.NewServer,
|
"grpc": sgrpc.NewServer,
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user