OpenWeather-gRPC-API/proto/service.proto

15 lines
353 B
Protocol Buffer
Raw Normal View History

2022-07-25 16:16:27 -04:00
syntax = "proto3";
package weather;
2022-09-01 23:43:01 -04:00
option go_package = "codeberg.org/andcscott/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
}