directory
Version:
v0.0.0-...-69b8cc5
Opens a new window with list of versions in this module.
Published: Jun 3, 2024
License: MIT
Opens a new window with license information.
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
¶
Click to show internal directories.
Click to hide internal directories.