不重要,反正加了这种,就会给你生成对应的方法,客户端和服务端会有相应的使用方式,具体到用的时候再看一下就行了。
service SearchService {
rpc Search(SearchRequest) returns (SearchResponse);
}
不重要,反正加了这种,就会给你生成对应的方法,客户端和服务端会有相应的使用方式,具体到用的时候再看一下就行了。
service SearchService {
rpc Search(SearchRequest) returns (SearchResponse);
}