17 lines
298 B
Protocol Buffer
17 lines
298 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
|
||
|
package template.document;
|
||
|
|
||
|
option go_package = "gen/api/v1";
|
||
|
|
||
|
service DocumentService {
|
||
|
rpc ListDocuments(ListDocumentsRequest) returns (ListDocumentsResponse);
|
||
|
}
|
||
|
|
||
|
message ListDocumentsRequest {
|
||
|
string Message = 1;
|
||
|
}
|
||
|
|
||
|
message ListDocumentsResponse {
|
||
|
string Message = 1;
|
||
|
}
|