mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-24 04:22:22 +00:00
14 lines
192 B
Protocol Buffer
14 lines
192 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package main;
|
|
|
|
message String {
|
|
string value = 1;
|
|
}
|
|
|
|
service HelloService {
|
|
rpc Hello (String) returns (String);
|
|
|
|
rpc Channel (stream String) returns (stream String);
|
|
}
|