grpcme

module
v0.0.0-...-410a399 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: Apache-2.0

README

grpcme

Simple Go gRPC 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.

For more about Protocol Buffers (Protobuf), language-neutral mechanism for serializing structured data, see here.

To generate the Go code from that proto run:

make api

The resulting Go code will be written to 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

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.

Directories

Path Synopsis
cmd
ui
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL