fix bad port number in README examples (#7)

This commit is contained in:
Joshua Humphries 2018-02-19 14:01:04 -05:00 committed by GitHub
parent 9f7485fd04
commit 46121b1305
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -46,21 +46,21 @@ grpcurl grpc.server.com:443 my.custom.server.Service/Method
To list all services exposed by a server, use the "list" verb. When using protoset files To list all services exposed by a server, use the "list" verb. When using protoset files
instead of server reflection, this lists all services defined in the protoset files. instead of server reflection, this lists all services defined in the protoset files.
``` ```
grpcurl localhost:80808 list grpcurl localhost:8787 list
grpcurl -protoset my-protos.bin list grpcurl -protoset my-protos.bin list
``` ```
The "list" verb also lets you see all methods in a particular service: The "list" verb also lets you see all methods in a particular service:
``` ```
grpcurl localhost:80808 list my.custom.server.Service grpcurl localhost:8787 list my.custom.server.Service
``` ```
The "describe" verb will print the type of any symbol that the server knows about The "describe" verb will print the type of any symbol that the server knows about
or that is found in a given protoset file and also print the full descriptor for the or that is found in a given protoset file and also print the full descriptor for the
symbol, in JSON. symbol, in JSON.
``` ```
grpcurl localhost:80808 describe my.custom.server.Service.MethodOne grpcurl localhost:8787 describe my.custom.server.Service.MethodOne
grpcurl -protoset my-protos.bin describe my.custom.server.Service.MethodOne grpcurl -protoset my-protos.bin describe my.custom.server.Service.MethodOne
``` ```