https://github.com/bbengfort/echo
gRPC echo template
https://github.com/bbengfort/echo
Last synced: over 1 year ago
JSON representation
gRPC echo template
- Host: GitHub
- URL: https://github.com/bbengfort/echo
- Owner: bbengfort
- License: mit
- Created: 2017-09-05T13:54:28.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-06T15:03:49.000Z (almost 9 years ago)
- Last Synced: 2025-02-08T17:45:50.594Z (over 1 year ago)
- Language: Go
- Size: 13.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gRPC Service Template
This package is a template for designing gRPC services.
## Quickstart
Install the server/client system using `go get` as follows:
```
$ go get github.com/bbengfort/echo
```
You should then have the `echo` command installed on your system:
```
$ echo --help
```
You can run the server as follows:
```
$ echo serve
```
And send messages from the client as:
```
$ echo send "hello world"
```
Note the various arguments you can pass to both serve and send to configure the setup. Run benchmarks with the bench command:
```
$ echo bench
```
The primary comparison is between gRPC and ZMQ — the ZMQ code can be found at [github.com/bbengfort/rtreq](https://github.com/bbengfort/rtreq).