OpenWeather-gRPC-API/proto/service.proto
2022-07-26 15:05:21 -04:00

15 lines
384 B
Protocol Buffer

syntax = "proto3";
package weather;
option go_package = "codeberg.org/andcscott/OpenWeatherMap-gRPC-API/proto";
import "current.proto";
import "extended.proto";
import "location.proto";
service WeatherService {
rpc Current(RequestCurrent) returns (SendCurrent);
rpc Extended(RequestExtended) returns (SendExtended);
rpc Location(RequestLocation) returns (SendLocation);
}