mirror of
https://github.com/hanzoai/grpc-web.git
synced 2026-10-30 18:35:37 +00:00
* Use Lerna to manage client modules
* Debug failing example build
* Disable Post Install Script for react example
* Derp
* Revert "Disable Post Install Script for react example"
This reverts commit f6c6ffc427f3e087e27da2eeeba1a36df0144735.
* Fix up some more relative paths.
* Fix up go tests.
* Fixup relative path to vendored go-files
* Fix go import
* Fix path to test-server startup
* Move integration tests into their own folder
* Fix test.sh
* Fix pathing issue 🙏
23 lines
364 B
Protocol Buffer
23 lines
364 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package examplecom.library;
|
|
|
|
message Book {
|
|
int64 isbn = 1;
|
|
string title = 2;
|
|
string author = 3;
|
|
}
|
|
|
|
message GetBookRequest {
|
|
int64 isbn = 1;
|
|
}
|
|
|
|
message QueryBooksRequest {
|
|
string author_prefix = 1;
|
|
}
|
|
|
|
service BookService {
|
|
rpc GetBook(GetBookRequest) returns (Book) {}
|
|
rpc QueryBooks(QueryBooksRequest) returns (stream Book) {}
|
|
}
|