OpenWeather-gRPC-API/proto/service.proto

14 lines
357 B
Protocol Buffer

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