Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mchmarny/grpcme
Simple go gRPC service template
https://github.com/mchmarny/grpcme
golang grpc iam protobuf template
Last synced: 5 days ago
JSON representation
Simple go gRPC service template
- Host: GitHub
- URL: https://github.com/mchmarny/grpcme
- Owner: mchmarny
- License: apache-2.0
- Created: 2019-08-30T20:43:39.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-05-02T09:29:53.000Z (6 months ago)
- Last Synced: 2024-06-21T15:27:14.513Z (5 months ago)
- Topics: golang, grpc, iam, protobuf, template
- Language: Go
- Homepage:
- Size: 4.34 MB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# grpcme
Simple Go [gRPC](https://grpc.io/) server/client template
## API Definition
To define the API (payload shape and the methods that will be used to communicate between client and the server), edit the sample `proto` file is located in [api/v1/sample.proto](api/v1/sample.proto).
> For more about [Protocol Buffers](https://developers.google.com/protocol-buffers/) (Protobuf), language-neutral mechanism for serializing structured data, see [here](https://github.com/golang/protobuf).
To generate the `Go` code from that `proto` run:
```shell
make api
```The resulting Go code will be written to [pkg/api/v1](pkg/api/v1). You can review that file but don't edit it as it will be overwritten the next time you generate APIs.
## Container Images
```shell
bin/image
```## Disclaimer
This is my personal project and it does not represent my employer. While I do my best to ensure that everything works, I take no responsibility for issues caused by this code.