什么是服务接口的代码和桩代码?

不重要,反正加了这种,就会给你生成对应的方法,客户端和服务端会有相应的使用方式,具体到用的时候再看一下就行了。


service SearchService {
    
    
  rpc Search(SearchRequest) returns (SearchResponse);
}

猜你喜欢

转载自blog.csdn.net/ustc_sse_shenzhang/article/details/130049278