Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vvatanabe/grpc-proxyd
grpc-proxyd is a daemon that allows to easily configure grpc routing with YAML files. It's just a proof of concept.
https://github.com/vvatanabe/grpc-proxyd
Last synced: 24 days ago
JSON representation
grpc-proxyd is a daemon that allows to easily configure grpc routing with YAML files. It's just a proof of concept.
- Host: GitHub
- URL: https://github.com/vvatanabe/grpc-proxyd
- Owner: vvatanabe
- License: apache-2.0
- Created: 2020-06-05T21:52:05.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-06-11T21:48:00.000Z (over 4 years ago)
- Last Synced: 2024-05-21T12:38:01.343Z (6 months ago)
- Language: Go
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grpc-proxyd
## Description
grpc-proxyd is a daemon that allows to easily configure grpc routing with YAML files. It's just a proof of concept.
## Installation
### Go
If you have the Go(go1.14+) installed, you can also install it with go get command.
```sh
$ go get github.com/vvatanabe/grpc-proxyd
```## Usage
```
Usage:
grpc-proxyd [flags]Flags:
-c, --config string config file path (default "config.yml")
-p, --port int listen port [GRPC_PROXYD_PORT] (default 50051)
--cert_file string cert file path [GRPC_PROXYD_CERT_FILE]
--key_file string key file path [GRPC_PROXYD_KEY_FILE]
-v, --verbose debug mode [GRPC_PROXYD_VERBOSE]
-h, --help help for grpc-proxyd
```## Config File
### YAML
```yaml
verbose: true
port: 50051
routes:
- match: /echo.EchoService/Echo
addr: localhost:3001
- match: /download.DownloadService/Download
addr: localhost:3002
- match: /upload.UploadService/Upload
addr: localhost:3003
```## Acknowledgments
- [mwitkow/grpc-proxy](https://github.com/mwitkow/grpc-proxy)
- [mwitkow/grpc-proxy forks](https://github.com/mwitkow/grpc-proxy/network/members)
- [devsu/grpc-proxy](https://github.com/devsu/grpc-proxy)## Bugs and Feedback
For bugs, questions and discussions please use the GitHub Issues.
## License
`grpc-proxyd` is released under the Apache 2.0 license.
## Author
[vvatanabe](https://github.com/vvatanabe)