Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

This repository is no longer maintained

Instead, I recommend for others to use grpcurl or evans.

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"}

About

A handy and universal gRPC command line client written in Golang

Resources

Releases

No releases published

Packages

No packages published