Created
September 5, 2022 11:34
-
-
Save serafdev/9113f8e8e5a011f205eea712cf108a3b to your computer and use it in GitHub Desktop.
Proto File
This file contains hidden or 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
syntax = "proto3"; | |
package worker; | |
option go_package="seraf-worker/workerpb"; | |
message WorkerRequest { | |
string crazy_work = 1; | |
} | |
message WorkerResponse { | |
bool work_done = 1; | |
} | |
service WorkerService { | |
rpc Worker(WorkerRequest) returns (WorkerResponse) {}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment