add the various updates for proxy in http client/server
This commit is contained in:
parent
03948ae35b
commit
4fe1822679
@ -43,6 +43,7 @@ func serviceDef(opts server.Options) *registry.Service {
|
|||||||
node.Metadata["server"] = "http"
|
node.Metadata["server"] = "http"
|
||||||
node.Metadata["broker"] = opts.Broker.String()
|
node.Metadata["broker"] = opts.Broker.String()
|
||||||
node.Metadata["registry"] = opts.Registry.String()
|
node.Metadata["registry"] = opts.Registry.String()
|
||||||
|
node.Metadata["protocol"] = "http"
|
||||||
|
|
||||||
return ®istry.Service{
|
return ®istry.Service{
|
||||||
Name: opts.Name,
|
Name: opts.Name,
|
||||||
|
Loading…
Reference in New Issue
Block a user