Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 571 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 571 Bytes

GRPC plaground

Pre-requisites:

1. go 1.23.0
2. protoc 3.21.12

Run tests:

go test ./...

Build & run server:

go build -o booking-server && ./booking-server

Build & run client:

go build -o booking-client  ./client &&./booking-client

API:

rpc Create (BookingRequest) returns (Receipt) {}
rpc GetReceipt (UserEmail) returns (Receipt) {}
rpc UpdateSeat (UpdateSeatRequest) returns (Receipt) {}
rpc Cancel (UserEmail) returns (Empty) {}
rpc GetSeatAllocations (Section) return (AllocationList) {}