mirror of
https://codeberg.org/andyscott/OpenWeather-gRPC-API.git
synced 2024-11-04 05:10:48 -05:00
14 lines
357 B
Protocol Buffer
14 lines
357 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 Extended(RequestFiveDay) returns (SendFiveDay);
|
|
rpc Location(RequestLocation) returns (SendLocation);
|
|
}
|