Created
May 10, 2017 16:56
-
-
Save crast/751aa8f78e57d70b77926d4284176f66 to your computer and use it in GitHub Desktop.
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
// blahService is the core blah API. | |
service BlahService { | |
// Ping operation for determining service health | |
rpc Ping(PingRequest) returns (PongResponse) { | |
option (google.api.http) = { | |
get: "/ping" | |
}; | |
} | |
// Write to a range within a single series address | |
rpc Write(WriteRequest) returns (WriteResponse) { | |
option (google.api.http) = { | |
post: "/v1/blah/write" | |
body: "*" | |
}; | |
} | |
// Read from a range within a single series address | |
rpc Read(ReadRequest) returns (ReadResponse) { | |
option (google.api.http) = { | |
post: "/v1/blah/read" | |
body: "*" | |
}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment