Skip to content

SineMah/lunch_n_learn_grpc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gRPC

go get -u google.golang.org/grpc
go get -u github.com/golang/protobuf/protoc-gen-go
protoc --proto_path=proto --go_out=. --go-grpc_out=. Count.proto Hello.proto Average.proto Conversation.proto
go build -o server -tags=server && ./server
# unary
go build -o client -tags=client && ./client Mikaar

# server streaming
go build -o client -tags=client && ./client count

# client streaming
go build -o client -tags=client && ./client avg

# bidirectional streaming
go build -o client -tags=client && ./client talk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages