Skip to content
loonghePublic

About

is grpc simple demo。一个简单的纯grpc示例

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

准备工作

brew install protobuf
protoc --version #最新版本
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
export PATH=$PATH:$GOPATH/bin

下载demo

git clone https://github.com/grpc-example/simple.git
cd simple
go mod tidy

编译.proto文件命令

make api

run server

go run server.go

run client

go run client.go

About

is grpc simple demo。一个简单的纯grpc示例

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages