Discover Packages
github.com/coseguera/gogrpcdemo
module
Version:
v0.0.0-...-036fb5a
Opens a new window with list of versions in this module.
Published: May 10, 2021
License: MIT
Opens a new window with license information.
README
README
¶
Golang gRPC demo
Follows tutorial from https://grpc.io/docs/languages/go/basics/
go mod init github.com/coseguera/gogrpcdemo
mkdir routeguide
go get google.golang.org/grpc
go get google.golang.org/protobuf/reflect/protoreflect@v1.25.0
To generate the protobuf
protoc --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative routeguide/route_guide.proto
To run
go run server/server.go
go run client/main.go
Expand ▾
Collapse ▴
Directories
¶
Package data provides convenience routines to access files in the data directory.
Package data provides convenience routines to access files in the data directory.
Click to show internal directories.
Click to hide internal directories.