Skip to content

Tufts-CS-118/Project1-gRPC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 1: gRPC

Task

Create a gRPC server and client that successfully communicate with each other. Handout is here.

Goals

  • Write a proto file that defines an RPC service
  • Generate go files from your proto
  • Send gRPC requests with client to server

Requirements

To receive full credit for this lab, you must pass all the tests in integration_test.go. Please do not modify the test file. To submit your lab for grading, please upload to GradeScope.

Part 1: Proto

  1. Install protoc on your local machine
  2. Create your protobuf file. Make sure to name the package the same as your other files
  3. Run sh generate_grpc.sh the project directory to generate the go files. This script is pretty handy and I recommend you keep it for yourself ;)

Part 2: Server

Implement the TODOs

Part 3: Client

Implement the TODOs

Building

  • Navigate to either cmd/client or cmd/server and run go build .. This will generate client or server binaries for you respectively.

Testing

  • go test ./... should run all tests for you from within this repository root.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published