Sign inSign up

davidgoitia/grpcox

By davidgoitia

•Updated over 5 years ago

Image
0

238

davidgoitia/grpcox repository overview

⁠gRPCox

Go Report Card

turn gRPCurl⁠ into web based UI, extremely easy to use

⁠Features

  • Recognize and provide list of services and methods inside it as an options.
  • Automatically recognize schema input and compose it into JSON based. (ensure your gRPC server supports server reflection⁠). Examples for how to set up server reflection can be found here⁠.
  • Save established connection, and reuse it for next invoke/request (also can close/restart connection)

⁠Installation

⁠Docker
docker pull gusaul/grpcox:latest

then run

docker run -p 6969:8777 -v {ABSOLUTE_PATH_TO_LOG}/log:/log -d gusaul/grpcox
⁠Docker Compose

from terminal, move to grpcox directory, then run command

docker-compose up

if you're using docker and want to connect gRPC on your local machine, then use
host.docker.internal:<your gRPC port> instead of localhost

⁠Golang

if you have golang installed on your local machine, just run command

make start

from grpcox directory

configure app preferences by editing config.env file

varusagetypeunit
MAX_LIFE_CONNmaximum idle time connection before closednumberminute
TICK_CLOSE_CONNticker interval to sweep expired connectionnumbersecond
BIND_ADDRip:port to bind servicestring

set value 0 (zero) to disable auto close idle connection.

⁠Demo

gRPCox Demo

Tag summary

Content type

Image

Digest

Size

14.4 MB

Last updated

over 5 years ago

docker pull davidgoitia/grpcox