OpenWeather-gRPC-API/proto/service.proto
2022-09-01 23:43:01 -04:00

14 lines
353 B
Protocol Buffer

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