mirror of
https://github.com/aljazceru/ark.git
synced 2025-12-17 12:14:21 +01:00
23 lines
420 B
Protocol Buffer
Executable File
23 lines
420 B
Protocol Buffer
Executable File
syntax = "proto3";
|
|
|
|
package arkd.v1;
|
|
|
|
import "google/api/annotations.proto";
|
|
|
|
// TODO: Edit this proto to something more meaningful for your application.
|
|
service Service {
|
|
rpc GetVersion(GetVersionRequest) returns (GetVersionResponse) {
|
|
option (google.api.http) = {
|
|
post: "/v1/hello"
|
|
body: "*"
|
|
};
|
|
}
|
|
}
|
|
|
|
message GetVersionRequest {
|
|
string name = 1;
|
|
}
|
|
message GetVersionResponse {
|
|
string message = 1;
|
|
}
|
|
|