OpenWeather-gRPC-API/proto/service.proto

16 lines
384 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 "current.proto";
import "extended.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(RequestExtended) returns (SendExtended);
rpc Location(RequestLocation) returns (SendLocation);
2022-07-25 16:16:27 -04:00
}