go/

directory
v0.0.0-...-4906db8 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: GPL-3.0, CC-BY-4.0

README

OrderManagement Service and Client - Go Implementation

Building and Running Service

In order to build, Go to Go module root directory location (keepalive/order-service/go/server) and execute the following shell command,

go build -i -v -o bin/server

In order to run, Go to Go module root directory location (keepalive/order-service/go/server) and execute the following shell command,

./bin/server

Building and Running Client

In order to build, Go to Go module root directory location (keepalive/order-service/go/client) and execute the following shell command,

go build -i -v -o bin/client

In order to run, Go to Go module root directory location (keepalive/order-service/go/client) and execute the following shell command,

./bin/client

Additional Information

Generate Server and Client side code

protoc -I order-service-gen/ order-service-gen/order_management.proto --go_out=plugins=grpc:order-service-gen

Update after changing the service definition

go get -u github.com/grpc-up-and-running/samples/ch05/keepalive/order-service/go/order-service-gen

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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