mirror of
https://codeberg.org/andyscott/OpenWeather-gRPC-API.git
synced 2024-11-05 05:20:48 -05:00
14 lines
356 B
Protocol Buffer
14 lines
356 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package weather;
|
|
|
|
option go_package = "codeberg.org/andcscott/OpenWeatherMap-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);
|
|
}
|