-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
85 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,10 @@ | ||
version: v2 | ||
managed: | ||
enabled: true | ||
plugins: | ||
- local: ./node_modules/ts-proto/protoc-gen-ts_proto | ||
strategy: directory | ||
out: ./packages | ||
opt: | ||
- esModuleInterop=true | ||
- fileSuffix=_pb | ||
inputs: | ||
- directory: ./packages | ||
exclude_paths: | ||
- packages/network/node_modules | ||
- packages/object/node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Generated by buf. DO NOT EDIT. | ||
version: v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version: v2 | ||
modules: | ||
- path: packages | ||
- includes: | ||
- packages/network | ||
- packages/object | ||
- excludes: | ||
- node_modules | ||
- packages/network/node_modules | ||
- packages/object/node_modules | ||
- examples/canvas/node_modules | ||
- examples/chat/node_modules | ||
deps: | ||
- buf.build/googleapis/googleapis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
syntax = "proto3"; | ||
package topology.rpc; | ||
import "google/api/http.proto"; | ||
import "google/api/annotations.proto"; | ||
|
||
service Rpc { | ||
rpc subscribeCro (SubscribeCroRequest ) returns (SubscribeCroResponse ) { | ||
option (google.api.http).get = "/topopology/cro/subscribe/{cro_id}"; | ||
}; | ||
rpc unsubscribeCro (UnsubscribeCroRequest ) returns (UnsubscribeCroRequest ) { | ||
option (google.api.http).get = "/topopology/cro/subscribe/{cro_id}"; | ||
}; | ||
rpc getCroHashGraph (GetCroHashGraphRequest ) returns (GetCroHashGraphResponse ) { | ||
option (google.api.http).get = "/topopology/cro/subscribe/{cro_id}"; | ||
}; | ||
} | ||
|
||
message SubscribeCroRequest { | ||
string cro_id = 1; | ||
} | ||
|
||
message SubscribeCroResponse { | ||
// can return error codes if different than 0 | ||
int return_code = 1; | ||
} | ||
|
||
message UnsubscribeCroRequest { | ||
string cro_id = 1; | ||
} | ||
|
||
message UnsubscribeCroResponse { | ||
// can return error codes if different than 0 | ||
int return_code = 1; | ||
} | ||
|
||
message getCroHashGraphRequest { | ||
string cro_id = 1; | ||
} | ||
|
||
message getCroHashGraphResponse { | ||
// linearized vertices hashes | ||
repeated string vertices_hashes = 1; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.