Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harzu/simple-grpc
simple gRPC server
https://github.com/harzu/simple-grpc
Last synced: 22 days ago
JSON representation
simple gRPC server
- Host: GitHub
- URL: https://github.com/harzu/simple-grpc
- Owner: Harzu
- Created: 2020-01-12T14:50:55.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-12T14:57:06.000Z (almost 5 years ago)
- Last Synced: 2024-10-25T10:50:18.175Z (2 months ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple gRPC server
## Dependencies
1. protoc v3
2. golang >= 1.13
3. evans (client for check work)**main.proto** - schema for rpc
## Build
```bash
$ protoc -I --go_out=plugins=grpc:. main.proto
$ go get -d -v && go build -o .
```## Run
```bash
$ ./main
```## Check
```bash
$ evans ./main.proto -p 5000# evans cli
[email protected]:5000> call SayHello
name (TYPE_STRING) => Alice
```