diff --git a/README.md b/README.md index 79bc5f96..6c9e33bb 100644 --- a/README.md +++ b/README.md @@ -36,17 +36,16 @@ $ consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul ``` $ go run go-micro/template/main.go -1416690099281057746 [Debug] Rpc handler /_rpc -1416690099281092588 [Debug] Starting server go.micro.service.template id go.micro.service.template-c0bfcb44-728a-11e4-b099-68a86d0d36b6 -1416690099281192941 [Debug] Listening on [::]:58264 -1416690099281215346 [Debug] Registering go.micro.service.template-c0bfcb44-728a-11e4-b099-68a86d0d36b6 +I0523 12:21:09.506998 77096 server.go:113] Starting server go.micro.service.template id go.micro.service.template-cfc481fc-013d-11e5-bcdc-68a86d0d36b6 +I0523 12:21:09.507281 77096 rpc_server.go:112] Listening on [::]:51868 +I0523 12:21:09.507329 77096 server.go:95] Registering node: go.micro.service.template-cfc481fc-013d-11e5-bcdc-68a86d0d36b6 ``` ### Test Service ``` $ go run go-micro/examples/service_client.go -go.micro.service.template-c0bfcb44-728a-11e4-b099-68a86d0d36b6: Hello John +go.micro.service.template-cfc481fc-013d-11e5-bcdc-68a86d0d36b6: Hello John ``` ## Writing a service @@ -130,8 +129,8 @@ func main() { ``` $ go run go-micro/template/main.go -1416690099281057746 [Debug] Rpc handler /_rpc -1416690099281092588 [Debug] Starting server go.micro.service.template id go.micro.service.template-c0bfcb44-728a-11e4-b099-68a86d0d36b6 -1416690099281192941 [Debug] Listening on [::]:58264 -1416690099281215346 [Debug] Registering go.micro.service.template-c0bfcb44-728a-11e4-b099-68a86d0d36b6 + +I0523 12:21:09.506998 77096 server.go:113] Starting server go.micro.service.template id go.micro.service.template-cfc481fc-013d-11e5-bcdc-68a86d0d36b6 +I0523 12:21:09.507281 77096 rpc_server.go:112] Listening on [::]:51868 +I0523 12:21:09.507329 77096 server.go:95] Registering node: go.micro.service.template-cfc481fc-013d-11e5-bcdc-68a86d0d36b6 ``` diff --git a/template/README.md b/template/README.md index 53614551..1a596abc 100644 --- a/template/README.md +++ b/template/README.md @@ -16,15 +16,14 @@ Run Service ``` $ go run main.go -1416690099281057746 [Debug] Rpc handler /_rpc -1416690099281092588 [Debug] Starting server go.micro.service.template id go.micro.service.template-c0bfcb44-728a-11e4-b099-68a86d0d36b6 -1416690099281192941 [Debug] Listening on [::]:58264 -1416690099281215346 [Debug] Registering go.micro.service.template-c0bfcb44-728a-11e4-b099-68a86d0d36b6 +I0523 12:21:09.506998 77096 server.go:113] Starting server go.micro.service.template id go.micro.service.template-cfc481fc-013d-11e5-bcdc-68a86d0d36b6 +I0523 12:21:09.507281 77096 rpc_server.go:112] Listening on [::]:51868 +I0523 12:21:09.507329 77096 server.go:95] Registering node: go.micro.service.template-cfc481fc-013d-11e5-bcdc-68a86d0d36b6 ``` Test Service ``` $ go run go-micro/examples/service_client.go -go.micro.service.template-c0bfcb44-728a-11e4-b099-68a86d0d36b6: Hello John +go.micro.service.template-cfc481fc-013d-11e5-bcdc-68a86d0d36b6: Hello John ```