cleanup debug and transport (#1920)

This commit is contained in:
Asim Aslam 2020-08-10 15:58:39 +01:00 committed by Vasiliy Tolstov
parent f2c5da457e
commit ed139b1fdd

View File

@ -9,7 +9,6 @@ import (
"github.com/micro/go-micro/v3/codec" "github.com/micro/go-micro/v3/codec"
"github.com/micro/go-micro/v3/registry/mdns" "github.com/micro/go-micro/v3/registry/mdns"
"github.com/micro/go-micro/v3/server" "github.com/micro/go-micro/v3/server"
"github.com/micro/go-micro/v3/transport"
"google.golang.org/grpc" "google.golang.org/grpc"
"google.golang.org/grpc/encoding" "google.golang.org/grpc/encoding"
) )
@ -70,7 +69,6 @@ func newOptions(opt ...server.Option) server.Options {
Metadata: map[string]string{}, Metadata: map[string]string{},
Broker: http.NewBroker(), Broker: http.NewBroker(),
Registry: mdns.NewRegistry(), Registry: mdns.NewRegistry(),
Transport: transport.DefaultTransport,
Address: server.DefaultAddress, Address: server.DefaultAddress,
Name: server.DefaultName, Name: server.DefaultName,
Id: server.DefaultId, Id: server.DefaultId,