mirror of
https://github.com/stefanprodan/podinfo.git
synced 2026-04-21 10:16:46 +00:00
added grpc verion and echo apis --------- Co-authored-by: Prashant Dwivedi <prashantdwivedi194@gmail.com>
19 lines
262 B
Protocol Buffer
19 lines
262 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
option go_package = "./version";
|
|
|
|
package version;
|
|
|
|
|
|
service VersionService {
|
|
rpc Version (VersionRequest) returns (VersionResponse) {}
|
|
}
|
|
|
|
|
|
message VersionRequest {}
|
|
|
|
message VersionResponse {
|
|
string version = 1;
|
|
string commit = 2;
|
|
}
|