grpcrnd

command module
v0.0.0-...-8efdc63 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 7, 2018 License: MIT Imports: 5 Imported by: 0

README

grpcurl

CircleCI

super experimental

Installation

go get -u github.com/kazegusuri/grpcurl

Usage

$ grpcurl
A handy and universal gRPC command line client

Usage:
  grpcurl [flags]
  grpcurl [command]

Available Commands:
  call          Call gRPC method with JSON
  help          Help about any command
  list_services List services and methods provided by gRPC server

Flags:
  -h, --help       help for grpcurl
  -k, --insecure   with insecure
  -v, --verbose    verbose output

Use "grpcurl [command] --help" for more information about a command.
List services
$ grpcurl -k ls localhost:8080
test.EchoService
grpc.reflection.v1alpha.ServerReflection

$ grpcurl -k ls localhost:8080 test.EchoService
test.Test.Echo
Call gRPC method
$ echo '{"Message": "hello"} | grpcurl -k call localhost:8080 test.EchoService.Echo
{"Message":"hello"}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
server command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL