mirror of
https://github.com/EDeev/api_processor.git
synced 2026-06-15 19:11:01 +03:00
18 lines
293 B
Protocol Buffer
18 lines
293 B
Protocol Buffer
// proto/text_service.proto
|
|
syntax = "proto3";
|
|
|
|
package text_service;
|
|
|
|
service TextProcessor {
|
|
rpc ProcessText(TextRequest) returns (TextResponse) {}
|
|
}
|
|
|
|
message TextRequest {
|
|
string text = 1;
|
|
}
|
|
|
|
message TextResponse {
|
|
string processed_text = 1;
|
|
bool success = 2;
|
|
string error = 3;
|
|
}
|