OpenWeather-gRPC-API/proto/service.proto

15 lines
357 B
Protocol Buffer
Raw Normal View History

2022-07-25 16:16:27 -04:00
syntax = "proto3";
package weather;
option go_package = "codeberg.org/andcscott/OpenWeatherMap-gRPC-API/proto";
import "weather.proto";
2022-07-26 15:05:21 -04:00
import "location.proto";
2022-07-25 16:16:27 -04:00
service WeatherService {
2022-07-26 15:05:21 -04:00
rpc Current(RequestCurrent) returns (SendCurrent);
rpc Extended(RequestFiveDay) returns (SendFiveDay);
2022-07-26 15:05:21 -04:00
rpc Location(RequestLocation) returns (SendLocation);
2022-07-25 16:16:27 -04:00
}