1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-12 22:07:47 +02:00

Use protocol from node metadata

This commit is contained in:
Asim Aslam
2019-01-18 12:30:39 +00:00
parent 9bd32645be
commit 6468733d98
7 changed files with 103 additions and 41 deletions

View File

@ -6,7 +6,7 @@ import (
type rpcRequest struct {
service string
method string
method string
endpoint string
contentType string
codec codec.Codec
@ -28,7 +28,7 @@ func newRequest(service, endpoint string, request interface{}, contentType strin
return &rpcRequest{
service: service,
method: endpoint,
method: endpoint,
endpoint: endpoint,
body: request,
contentType: contentType,