1
0
mirror of https://github.com/gusaul/grpcox.git synced 2024-12-25 01:41:11 +00:00
Go to file
2019-11-13 12:12:58 +07:00
core separate reflection descriptor from established conn 2019-11-13 12:12:58 +07:00
handler add expiry connection and automatic close 2019-04-05 18:07:19 +07:00
index add demo assets 2019-04-05 10:27:07 +07:00
vendor Dockerize grpcox 2019-03-25 10:47:41 +07:00
.gitignore add expiry connection and automatic close 2019-04-05 18:07:19 +07:00
config.env add expiry connection and automatic close 2019-04-05 18:07:19 +07:00
docker-compose.yml Place container in host network 2019-07-03 17:26:19 +02:00
Dockerfile Dockerize grpcox 2019-03-25 10:47:41 +07:00
Gopkg.lock Dockerize grpcox 2019-03-25 10:47:41 +07:00
Gopkg.toml Dockerize grpcox 2019-03-25 10:47:41 +07:00
grpcox.go add expiry connection and automatic close 2019-04-05 18:07:19 +07:00
LICENSE Create LICENSE 2018-11-05 03:10:47 +07:00
README.md Update README.md 2019-04-05 20:07:46 +07:00

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 Compose

from terminal, move to grpcox directory, then run command

docker-compose up

configure app preferences by editing config.env file

var usage type unit
MAX_LIFE_CONN maximum idle time connection before closed number minute
TICK_CLOSE_CONN ticker interval to sweep expired connection number second

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

then you can rebuild app by execute command

docker-compose up --build

Demo

gRPCox Demo