OpenWeather-gRPC-API/proto/service.proto

15 lines
353 B
Protocol Buffer
Raw Permalink Normal View History

2022-07-25 16:16:27 -04:00
syntax = "proto3";
package weather;
2024-06-19 12:51:47 -04:00
option go_package = "codeberg.org/andyscott/OpenWeather-gRPC-API/proto";
2022-07-25 16:16:27 -04:00
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 FiveDay(RequestFiveDay) returns (SendFiveDay);
2022-07-26 15:05:21 -04:00
rpc Location(RequestLocation) returns (SendLocation);
2022-07-25 16:16:27 -04:00
}