strip use of cmd
This commit is contained in:
parent
37e2bf5695
commit
96d68eeace
3
grpc.go
3
grpc.go
@ -11,7 +11,6 @@ import (
|
|||||||
|
|
||||||
"github.com/micro/go-micro/broker"
|
"github.com/micro/go-micro/broker"
|
||||||
"github.com/micro/go-micro/client"
|
"github.com/micro/go-micro/client"
|
||||||
"github.com/micro/go-micro/cmd"
|
|
||||||
"github.com/micro/go-micro/codec"
|
"github.com/micro/go-micro/codec"
|
||||||
"github.com/micro/go-micro/errors"
|
"github.com/micro/go-micro/errors"
|
||||||
"github.com/micro/go-micro/metadata"
|
"github.com/micro/go-micro/metadata"
|
||||||
@ -34,8 +33,6 @@ type grpcClient struct {
|
|||||||
func init() {
|
func init() {
|
||||||
encoding.RegisterCodec(jsonCodec{})
|
encoding.RegisterCodec(jsonCodec{})
|
||||||
encoding.RegisterCodec(bytesCodec{})
|
encoding.RegisterCodec(bytesCodec{})
|
||||||
|
|
||||||
cmd.DefaultClients["grpc"] = NewClient
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// secure returns the dial option for whether its a secure or insecure connection
|
// secure returns the dial option for whether its a secure or insecure connection
|
||||||
|
Loading…
Reference in New Issue
Block a user