rpc/

directory
v0.0.0-...-69b8cc5 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT

README

Run the example

1、Compile proto file

protoc --proto_path=. --proto_path=../../api  --go_out=paths=source_relative:. --go-grpc_out=paths=source_relative:. --go-web_out=paths=source_relative:. demo/demo.proto 

2、Compile and execute the server code:

$ go run server/main.go

3、From a different terminal, compile and execute the client code:

$ go run client/main.go

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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