Closed
Description
aggregate.proto
service AggregateService {
rpc InternalFunc (base.Empty) returns (HomeResp);
rpc GetHotKeyword (base.Empty) returns (GetHotKeywordResp);
}
app.yaml
type: google.api.Service
config_version: 3
http:
rules:
- selector: aggregate.AggregateService.GetHotKeyword
post: /goAppApi/aggregate/getHotKeyword
body: "*"
protoc -I/usr/local/include -Iproto --grpc-gateway_out=logtostderr=true,paths=source_relative,grpc_api_configuration=./proto/app.yaml:gen/gw/app/ ./proto/aggregate/aggregate.proto
--grpc-gateway_out: HTTP rules without a matching selector: AggregateService .InternalFunc
Metadata
Metadata
Assignees
Labels
No labels